mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-12 06:46:19 +00:00
A couple hacks to get deriving of records working.. but it's working?
This commit is contained in:
parent
801803d813
commit
63adb901b4
8 changed files with 156 additions and 104 deletions
|
@ -427,9 +427,8 @@ fn encode_derived_string() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[ignore]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
fn encode_derived_record() {
|
||||
fn encode_derived_record_one_field_string() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
|
@ -444,7 +443,7 @@ fn encode_derived_record() {
|
|||
_ -> "<bad>"
|
||||
"#
|
||||
),
|
||||
RocStr::from("foo"),
|
||||
RocStr::from(r#"{"a":"foo",}"#),
|
||||
RocStr
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue