Skip to content

Commit

Permalink
[Collections\dictionary] test .lower for .with
Browse files Browse the repository at this point in the history
  • Loading branch information
RickBarretto committed Jan 8, 2025
1 parent ec1db1f commit adfa772
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/unitt/lib/collections/dictionary.test.art
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,14 @@ suite "inject fields with `.with`" [
assert -> "EU" = location\entity
]

test "should store injected keys as lower when .lower" [
ENTITY: "EU"
example: #.lower.with: [ENTITY][]

actual: keys example
assert -> ["entity"] = actual
]

]


Expand Down

0 comments on commit adfa772

Please sign in to comment.