mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-04 00:55:00 +00:00
Mark deriving test for encoding tags as complete
This commit is contained in:
parent
b1867a97d2
commit
02526b6dc2
1 changed files with 2 additions and 3 deletions
|
|
@ -563,14 +563,13 @@ fn encode_derived_nested_tag_string() {
|
|||
_ -> "<bad>"
|
||||
"#
|
||||
),
|
||||
RocStr::from(r#"{"a":{"b":"bar",},}"#),
|
||||
RocStr::from(r#"{"A":[{"B":["foo","bar",]},]}"#),
|
||||
RocStr
|
||||
)
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
#[ignore]
|
||||
fn encode_derived_nested_record_tag_record() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
|
@ -589,7 +588,7 @@ fn encode_derived_nested_record_tag_record() {
|
|||
_ -> "<bad>"
|
||||
"#
|
||||
),
|
||||
RocStr::from(r#"{"a":{"b":"bar",},}"#),
|
||||
RocStr::from(r#"{"a":{"B":[{"c":"foo",},]},}"#),
|
||||
RocStr
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue