We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614f945 commit 7e04ed5Copy full SHA for 7e04ed5
1 file changed
tests/data_tree_reflection.rs
@@ -136,7 +136,14 @@ fn display_excessive_children() {
136
.par_try_into_tree()
137
.expect_err("create error")
138
.to_string();
139
- let expected = r#"ExcessiveChildren: "root/b/0" (Bytes(321)) is less than a child named "def" (Bytes(456))"#;
+ let expected = if cfg!(unix) {
140
+ r#"ExcessiveChildren: "root/b/0" (Bytes(321)) is less than a child named "def" (Bytes(456))"#
141
+ } else if cfg!(windows) {
142
+ r#"ExcessiveChildren: "root\b\0" (Bytes(321)) is less than a child named "def" (Bytes(456))"#
143
+ } else {
144
+ eprintln!("ACTUAL: {actual}");
145
+ panic!("This platform isn't supported!");
146
+ };
147
assert_eq!(actual, expected);
148
}
149
0 commit comments