Add decoding record derive key tests

This commit is contained in:
Ayaz Hafiz 2022-08-15 10:59:42 -05:00
parent 07cac2b4ce
commit 68441479b8
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
4 changed files with 35 additions and 8 deletions

View file

@ -7,7 +7,7 @@
use insta::assert_snapshot;
use crate::{
test_hash_eq, test_hash_neq,
test_key_eq, test_key_neq,
util::{check_immediate, derive_test},
v,
};
@ -17,7 +17,7 @@ use roc_types::subs::Variable;
// {{{ hash tests
test_hash_eq! {
test_key_eq! {
ToEncoder,
same_record:
@ -70,7 +70,7 @@ test_hash_eq! {
v!(@Symbol::BOOL_BOOL => v!([ True, False ])), v!(Symbol::UNDERSCORE => v!([False, True]))
}
test_hash_neq! {
test_key_neq! {
ToEncoder,
different_record_fields: