mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 04:08:19 +00:00
update cli logging test
This commit is contained in:
parent
759fa9b7a6
commit
77e55c88bf
2 changed files with 2 additions and 1 deletions
|
@ -942,7 +942,7 @@ mod cli_run {
|
|||
test_roc_app_slim(
|
||||
"examples",
|
||||
"inspect-logging.roc",
|
||||
r#"{people: [{firstName: "John", lastName: "Smith", age: 27, hasBeard: true, favoriteColor: Blue}, {firstName: "Debby", lastName: "Johnson", age: 47, hasBeard: false, favoriteColor: Green}, {firstName: "Jane", lastName: "Doe", age: 33, hasBeard: false, favoriteColor: (RGB (255, 255, 0))}], friends: [{2}, {2}, {0, 1}]}
|
||||
r#"{friends: [{2}, {2}, {0, 1}], people: [{age: 27, favoriteColor: Blue, firstName: "John", hasBeard: Bool.true, lastName: "Smith"}, {age: 47, favoriteColor: Green, firstName: "Debby", hasBeard: Bool.false, lastName: "Johnson"}, {age: 33, favoriteColor: (RGB (255, 255, 0)), firstName: "Jane", hasBeard: Bool.false, lastName: "Doe"}]}
|
||||
"#,
|
||||
UseValgrind::Yes,
|
||||
)
|
||||
|
|
|
@ -258,6 +258,7 @@ dbgStr = \s ->
|
|||
f0 <- custom
|
||||
f0
|
||||
|> dbgWrite "\""
|
||||
# TODO: Should we be escaping strings for dbg/logging?
|
||||
|> dbgWrite s
|
||||
|> dbgWrite "\""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue