Skip to content

Commit 1f0da31

Browse files
committed
removed test_union(): union is obsolete
1 parent e17045f commit 1f0da31

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/parser.rs

-15
Original file line numberDiff line numberDiff line change
@@ -385,21 +385,6 @@ method F() -> ()
385385
);
386386
}
387387

388-
#[test]
389-
fn test_union() {
390-
let v = Varlink::from_string(
391-
"
392-
interface foo.bar\nmethod F()->(s: (a: bool, b: int), u: bool,int,(foo: bool, bar: bool))",
393-
).unwrap();
394-
assert_eq!(
395-
v.interface.to_string(),
396-
"\
397-
interface foo.bar
398-
method F() -> (s: (a: bool, b: int), u: bool , int , (foo: bool, bar: bool))
399-
"
400-
);
401-
}
402-
403388
#[test]
404389
fn test_duplicate() {
405390
let e = Varlink::from_string(

0 commit comments

Comments
 (0)