about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIsaac Chen <isaacjchen1@gmail.com>2025-08-02 17:34:59 -0400
committerIsaac Chen <isaacjchen1@gmail.com>2025-08-02 17:34:59 -0400
commit792ec3bdd42800bfbf16ee1d570efc398bf30f30 (patch)
treed89014d8b1b0d4e74ea8b478fe092ed4b7cbbdc0
parent8a0438fee86b7dc566d0758b3aee050b84edc842 (diff)
updated line number in test
-rw-r--r--library/coretests/tests/panic/location.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/coretests/tests/panic/location.rs b/library/coretests/tests/panic/location.rs
index 2174ac854e9..a7db05a15c6 100644
--- a/library/coretests/tests/panic/location.rs
+++ b/library/coretests/tests/panic/location.rs
@@ -59,7 +59,7 @@ fn location_file_lifetime<'x>() {
 fn location_debug() {
     let f = format!("{:?}", Location::caller());
     assert!(f.contains(&format!("{:?}", file!())));
-    assert!(f.contains("52"));
+    assert!(f.contains("60"));
     assert!(f.contains("29"));
 }