Merge pull request #8967 from dotCooCoo/fix/inline-refresh-test-created

Tests: the inline refresh test's two sessions share one created date
This commit is contained in:
BFlat authored and GitHub committed 2026-11-22 10:49:56 +07:00
commit b2bcc0367c
1 file changed
+2 -1
+2 -1
View File
@@ -13,7 +13,8 @@ use crate::*;
fn session() -> Session {
let mut s = Session::new();
s.execute("file.new", &json!({"width": 800, "height": 600})).unwrap();
// A fixed created date: two sessions made in different seconds would otherwise differ in it.
s.execute("file.new", &json!({"width": 800, "height": 600, "created": 0})).unwrap();
s
}