Skip to content

Commit cbc0982

Browse files
committed
test: fix windows
1 parent ca2daff commit cbc0982

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/data_tree_reflection.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ fn display_excessive_children() {
139139
let expected = if cfg!(unix) {
140140
r#"ExcessiveChildren: "root/b/0" (Bytes(321)) is less than a child named "def" (Bytes(456))"#
141141
} else if cfg!(windows) {
142-
r#"ExcessiveChildren: "root\b\0" (Bytes(321)) is less than a child named "def" (Bytes(456))"#
142+
// TODO: stop using debug format
143+
r#"ExcessiveChildren: "root\\b\\0" (Bytes(321)) is less than a child named "def" (Bytes(456))"#
143144
} else {
144145
eprintln!("ACTUAL: {actual}");
145146
panic!("This platform isn't supported!");

0 commit comments

Comments
 (0)