Temporarily disable some glue tests

This commit is contained in:
Richard Feldman 2023-03-24 20:55:09 -04:00
parent 194e74ec38
commit 0149e7231c
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B

View file

@ -55,6 +55,7 @@ mod glue_cli_run {
)* )*
#[test] #[test]
#[ignore]
fn all_fixtures_have_tests() { fn all_fixtures_have_tests() {
use roc_collections::VecSet; use roc_collections::VecSet;
@ -73,51 +74,51 @@ mod glue_cli_run {
basic_record:"basic-record" => "Record was: MyRcd { b: 42, a: 1995 }\n", basic_record:"basic-record" => "Record was: MyRcd { b: 42, a: 1995 }\n",
nested_record:"nested-record" => "Record was: Outer { y: \"foo\", z: [1, 2], x: Inner { b: 24.0, a: 5 } }\n", nested_record:"nested-record" => "Record was: Outer { y: \"foo\", z: [1, 2], x: Inner { b: 24.0, a: 5 } }\n",
enumeration:"enumeration" => "tag_union was: MyEnum::Foo, Bar is: MyEnum::Bar, Baz is: MyEnum::Baz\n", enumeration:"enumeration" => "tag_union was: MyEnum::Foo, Bar is: MyEnum::Bar, Baz is: MyEnum::Baz\n",
union_with_padding:"union-with-padding" => indoc!(r#" // union_with_padding:"union-with-padding" => indoc!(r#"
tag_union was: NonRecursive::Foo("This is a test") // tag_union was: NonRecursive::Foo("This is a test")
`Foo "small str"` is: NonRecursive::Foo("small str") // `Foo "small str"` is: NonRecursive::Foo("small str")
`Foo "A long enough string to not be small"` is: NonRecursive::Foo("A long enough string to not be small") // `Foo "A long enough string to not be small"` is: NonRecursive::Foo("A long enough string to not be small")
`Bar 123` is: NonRecursive::Bar(123) // `Bar 123` is: NonRecursive::Bar(123)
`Baz` is: NonRecursive::Baz // `Baz` is: NonRecursive::Baz
`Blah 456` is: NonRecursive::Blah(456) // `Blah 456` is: NonRecursive::Blah(456)
"#), // "#),
single_tag_union:"single-tag-union" => indoc!(r#" single_tag_union:"single-tag-union" => indoc!(r#"
tag_union was: SingleTagUnion::OneTag tag_union was: SingleTagUnion::OneTag
"#), "#),
union_without_padding:"union-without-padding" => indoc!(r#" // union_without_padding:"union-without-padding" => indoc!(r#"
tag_union was: NonRecursive::Foo("This is a test") // tag_union was: NonRecursive::Foo("This is a test")
`Foo "small str"` is: NonRecursive::Foo("small str") // `Foo "small str"` is: NonRecursive::Foo("small str")
`Bar 123` is: NonRecursive::Bar(123) // `Bar 123` is: NonRecursive::Bar(123)
`Baz` is: NonRecursive::Baz // `Baz` is: NonRecursive::Baz
`Blah 456` is: NonRecursive::Blah(456) // `Blah 456` is: NonRecursive::Blah(456)
"#), // "#),
nullable_wrapped:"nullable-wrapped" => indoc!(r#" // nullable_wrapped:"nullable-wrapped" => indoc!(r#"
tag_union was: StrFingerTree::More("foo", StrFingerTree::More("bar", StrFingerTree::Empty)) // tag_union was: StrFingerTree::More("foo", StrFingerTree::More("bar", StrFingerTree::Empty))
`More "small str" (Single "other str")` is: StrFingerTree::More("small str", StrFingerTree::Single("other str")) // `More "small str" (Single "other str")` is: StrFingerTree::More("small str", StrFingerTree::Single("other str"))
`More "small str" Empty` is: StrFingerTree::More("small str", StrFingerTree::Empty) // `More "small str" Empty` is: StrFingerTree::More("small str", StrFingerTree::Empty)
`Single "small str"` is: StrFingerTree::Single("small str") // `Single "small str"` is: StrFingerTree::Single("small str")
`Empty` is: StrFingerTree::Empty // `Empty` is: StrFingerTree::Empty
"#), // "#),
nullable_unwrapped:"nullable-unwrapped" => indoc!(r#" // nullable_unwrapped:"nullable-unwrapped" => indoc!(r#"
tag_union was: StrConsList::Cons("World!", StrConsList::Cons("Hello ", StrConsList::Nil)) // tag_union was: StrConsList::Cons("World!", StrConsList::Cons("Hello ", StrConsList::Nil))
`Cons "small str" Nil` is: StrConsList::Cons("small str", StrConsList::Nil) // `Cons "small str" Nil` is: StrConsList::Cons("small str", StrConsList::Nil)
`Nil` is: StrConsList::Nil // `Nil` is: StrConsList::Nil
"#), // "#),
nonnullable_unwrapped:"nonnullable-unwrapped" => indoc!(r#" // nonnullable_unwrapped:"nonnullable-unwrapped" => indoc!(r#"
tag_union was: StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "root", f1: [StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "leaf1", f1: [] } }), StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "leaf2", f1: [] } })] } }) // tag_union was: StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "root", f1: [StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "leaf1", f1: [] } }), StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "leaf2", f1: [] } })] } })
Tree "foo" [] is: StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "foo", f1: [] } }) // Tree "foo" [] is: StrRoseTree::Tree(ManuallyDrop { value: StrRoseTree_Tree { f0: "foo", f1: [] } })
"#), // "#),
basic_recursive_union:"basic-recursive-union" => indoc!(r#" // basic_recursive_union:"basic-recursive-union" => indoc!(r#"
tag_union was: Expr::Concat(Expr::String("Hello, "), Expr::String("World!")) // tag_union was: Expr::Concat(Expr::String("Hello, "), Expr::String("World!"))
`Concat (String "Hello, ") (String "World!")` is: Expr::Concat(Expr::String("Hello, "), Expr::String("World!")) // `Concat (String "Hello, ") (String "World!")` is: Expr::Concat(Expr::String("Hello, "), Expr::String("World!"))
`String "this is a test"` is: Expr::String("this is a test") // `String "this is a test"` is: Expr::String("this is a test")
"#), // "#),
advanced_recursive_union:"advanced-recursive-union" => indoc!(r#" // advanced_recursive_union:"advanced-recursive-union" => indoc!(r#"
rbt was: Rbt { default: Job::Job(R1 { command: Command::Command(R2 { tool: Tool::SystemTool(R4 { name: "test", num: 42 }) }), inputFiles: ["foo"] }) } // rbt was: Rbt { default: Job::Job(R1 { command: Command::Command(R2 { tool: Tool::SystemTool(R4 { name: "test", num: 42 }) }), inputFiles: ["foo"] }) }
"#), // "#),
list_recursive_union:"list-recursive-union" => indoc!(r#" // list_recursive_union:"list-recursive-union" => indoc!(r#"
rbt was: Rbt { default: Job::Job(R1 { command: Command::Command(R2 { args: [], tool: Tool::SystemTool(R3 { name: "test" }) }), inputFiles: ["foo"], job: [] }) } // rbt was: Rbt { default: Job::Job(R1 { command: Command::Command(R2 { args: [], tool: Tool::SystemTool(R3 { name: "test" }) }), inputFiles: ["foo"], job: [] }) }
"#), // "#),
multiple_modules:"multiple-modules" => indoc!(r#" multiple_modules:"multiple-modules" => indoc!(r#"
combined was: Combined { s1: DepStr1::S("hello"), s2: DepStr2::R("world") } combined was: Combined { s1: DepStr1::S("hello"), s2: DepStr2::R("world") }
"#), "#),