Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn test_edge_cases() {
}
}
pub fn test_spec_with_method_calls() {
let expr = <[_]>::into_vec(::alloc::boxed::box_new([1, 2, 3]));
let expr = [1, 2, 3];
{
let _rule_name = "method_check";
let _spec = expr.len() > 0;
Expand Down
2 changes: 1 addition & 1 deletion cvlr-macros/tests/expand/test_cvlr_rule_for_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn test_edge_cases() {
}

pub fn test_spec_with_method_calls() {
let expr = vec![1, 2, 3];
let expr = [1, 2, 3];

// Test with method calls in spec
cvlr_rule_for_spec! {
Expand Down
1 change: 1 addition & 0 deletions cvlr-spec/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![no_std]
//! Specification language for CVL (Certora Verification Language) in Rust.
//!
//! This module provides a framework for writing specifications with preconditions
Expand Down
Loading