Skip to content

Commit 91e5196

Browse files
authored
Revert DEFAULT_ASSERT_MACROS value change (#3001)
<!-- Reference any GitHub issues resolved by this PR --> Closes # ## Introduced changes <!-- A brief description of the changes --> - ## Checklist <!-- Make sure all of these are complete --> - [ ] Linked relevant issue - [ ] Updated relevant documentation - [ ] Added relevant tests - [ ] Performed self-review of the code - [ ] Added changes to `CHANGELOG.md`
1 parent d46586b commit 91e5196

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/forge/src/new.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use toml_edit::{Array, ArrayOfTables, DocumentMut, Item, Table, Value, value};
1515

1616
static TEMPLATE: Dir = include_dir!("starknet_forge_template");
1717

18-
const DEFAULT_ASSERT_MACROS: Version = Version::new(2, 8, 5);
18+
const DEFAULT_ASSERT_MACROS: Version = Version::new(0, 1, 0);
1919
const MINIMAL_SCARB_FOR_CORRESPONDING_ASSERT_MACROS: Version = Version::new(2, 8, 0);
2020

2121
fn create_snfoundry_manifest(path: &PathBuf) -> Result<()> {

crates/forge/test_utils/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use project_root::get_project_root;
99
use scarb_api::ScarbCommand;
1010
use semver::Version;
1111

12-
const DEFAULT_ASSERT_MACROS: Version = Version::new(2, 8, 5);
12+
const DEFAULT_ASSERT_MACROS: Version = Version::new(0, 1, 0);
1313
const MINIMAL_SCARB_FOR_CORRESPONDING_ASSERT_MACROS: Version = Version::new(2, 8, 0);
1414

1515
pub fn get_local_snforge_std_absolute_path() -> Result<PathBuf> {

0 commit comments

Comments
 (0)