You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: module/core/strs_tools/task/task_plan.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@
19
19
* ✅ Increment 3: Fix Compilation Errors
20
20
* ✅ Increment 4: Implement Unescaping Logic
21
21
* ✅ Increment 5: Implement Quoted Segment Logic
22
-
*⚫ Increment 6: Add New Tests for Unescaping and Quoting
22
+
*⏳ Increment 6: Add New Tests for Unescaping and Quoting
23
23
* ⚫ Increment 7: Finalization
24
24
25
25
### Permissions & Boundaries
@@ -133,9 +133,10 @@
133
133
***Specification Reference:** "Acceptance Criteria" from the proposal.
134
134
***Steps:**
135
135
* Step 1: Create a new test file: `module/core/strs_tools/tests/inc/split_test/quoting_and_unescaping_tests.rs`.
136
-
* Step 2: Add this new file as a module in `module/core/strs_tools/tests/inc/split_test/mod.rs`.
137
-
* Step 3: In the new test file, add a test case that is an exact copy of the MRE from the task description. Assert that the output for the quoted part is a single `Split` item with the correctly unescaped string.
138
-
* Step 4: Add more test cases covering:
136
+
* Step 2: Use `read_file` to load `module/core/strs_tools/tests/inc/split_test/mod.rs`.
137
+
* Step 3: Use `insert_content` to add `pub mod quoting_and_unescaping_tests;` to `module/core/strs_tools/tests/inc/split_test/mod.rs`.
138
+
* Step 4: In the new test file (`quoting_and_unescaping_tests.rs`), add a test case that is an exact copy of the MRE from the task description. Assert that the output for the quoted part is a single `Split` item with the correctly unescaped string.
139
+
* Step 5: Add more test cases covering:
139
140
* Strings with no quotes.
140
141
* Strings with empty quoted sections (`""`).
141
142
* Strings with multiple, different escape sequences.
0 commit comments