Skip to content

Commit ceade59

Browse files
drinkcatcakebaker
andauthored
Update tests/by-util/test_date.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
1 parent 9463f21 commit ceade59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/by-util/test_date.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ fn test_date_format_y() {
173173
fn test_date_format_q() {
174174
let scene = TestScenario::new(util_name!());
175175

176-
let re = Regex::new(r"^\d\n$").unwrap();
176+
let re = Regex::new(r"^[1-4]\n$").unwrap();
177177
scene.ucmd().arg("+%q").succeeds().stdout_matches(&re);
178178
}
179179

0 commit comments

Comments
 (0)