feat: Migrate SAL to Cargo workspace
- Migrate individual modules to independent crates - Refactor dependencies for improved modularity - Update build system and testing infrastructure - Update documentation to reflect new structure
This commit is contained in:
@@ -106,7 +106,7 @@ fn test_dedent_and_prefix_combination() {
|
||||
let indented = " def function():\n print('hello')\n return True";
|
||||
let dedented = dedent(indented);
|
||||
let prefixed = prefix(&dedented, ">>> ");
|
||||
|
||||
|
||||
let expected = ">>> def function():\n>>> print('hello')\n>>> return True";
|
||||
assert_eq!(prefixed, expected);
|
||||
}
|
||||
@@ -120,7 +120,7 @@ fn test_dedent_real_code_example() {
|
||||
return result
|
||||
else:
|
||||
return None"#;
|
||||
|
||||
|
||||
let dedented = dedent(code);
|
||||
let expected = "\nif condition:\n for item in items:\n process(item)\n return result\nelse:\n return None";
|
||||
assert_eq!(dedented, expected);
|
||||
|
Reference in New Issue
Block a user