test(stencilcraft-format): exercise reader scalar root variants

This commit is contained in:
Dylan M. Taylor committed 2026-11-13 05:52:28 +00:00
1 parent eb379cf3d2
commit 4b8dde4c12
1 file changed
+1
+1
View File
@@ -367,6 +367,7 @@ mod tests {
for text in ["false", "-1", "1", "1.5", "\"scalar\"", "null"] {
assert!(matches!(File::read(text), Err(Error::NotStencilCraft)));
}
assert!(matches!(File::read_from(Cursor::new(br#""scalar""#)), Err(Error::NotStencilCraft)));
}
#[test]