Skip to content

Commit a606dc8

Browse files
committed
Fix @r test labels in opt_test and tests
1 parent 7c469ba commit a606dc8

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

zjit/src/hir/opt_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16379,7 +16379,7 @@ mod hir_opt_tests {
1637916379

1638016380
// After profiling via the side exit, rebuilding HIR should now
1638116381
// have a SendDirect for greet_recompile instead of SideExit.
16382-
assert_snapshot!(hir_string("test_no_profile_recompile"), @"
16382+
assert_snapshot!(hir_string("test_no_profile_recompile"), @r"
1638316383
fn test_no_profile_recompile@<compiled>:4:
1638416384
bb1():
1638516385
EntryPoint interpreter
@@ -16438,7 +16438,7 @@ mod hir_opt_tests {
1643816438
eval("3.times { test_final_version(false) }");
1643916439

1644016440
// On the final version, greet_final should be a Send fallback, not a SideExit.
16441-
assert_snapshot!(hir_string("test_final_version"), @"
16441+
assert_snapshot!(hir_string("test_final_version"), @r"
1644216442
fn test_final_version@<compiled>:4:
1644316443
bb1():
1644416444
EntryPoint interpreter

zjit/src/hir/tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ mod snapshot_tests {
9999
test
100100
test
101101
");
102-
assert_snapshot!(optimized_hir_string("test"), @r"
102+
assert_snapshot!(optimized_hir_string("test"), @"
103103
fn test@<compiled>:3:
104104
bb0():
105105
Entries bb1, bb2
@@ -137,7 +137,7 @@ mod snapshot_tests {
137137
test
138138
test
139139
");
140-
assert_snapshot!(optimized_hir_string("test"), @r"
140+
assert_snapshot!(optimized_hir_string("test"), @"
141141
fn test@<compiled>:3:
142142
bb0():
143143
Entries bb1, bb2

0 commit comments

Comments
 (0)