Skip to content

Commit

Permalink
chore(parser): edit printed test file path
Browse files Browse the repository at this point in the history
Without this change we will not be able to inspect the test at the exact
location in the test files.

This is now possible by using single semicolon instead of two to be able to open
the test files in vscode at the test line
  • Loading branch information
neuodev committed Sep 26, 2023
1 parent b2c41d9 commit 3d5a035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/parser_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fn read_tests(file_path: PathBuf) -> io::Result<Vec<Test>> {

fn run_tree_test(test_idx: usize, test: &Test, results: &mut TestResults) {
println!(
"🧪 Running test #{}: {}::{}",
"🧪 Running test #{}: {}:{}",
test_idx, test.file_path, test.line
);

Expand Down

0 comments on commit 3d5a035

Please sign in to comment.