Skip to content

Commit

Permalink
chore: test coverage for strings
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Mar 20, 2024
1 parent b900292 commit 537e43a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/log_test.gd
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ func test_log_dictionary():
var val = Log.to_printable([{some="val", another=2}])
assert_that(val).is_equal(
"[color=red]{ [/color][color=magenta]\"some\"[/color]: [color=pink]val[/color][color=red], [/color][color=magenta]\"another\"[/color]: 2[color=red] }[/color]")

func test_log_strings_and_string_names():
var val = Log.to_printable(["Special"])
assert_that(val).is_equal("[color=pink]Special[/color]")

0 comments on commit 537e43a

Please sign in to comment.