Skip to content

Commit ddb9946

Browse files
committed
test: improve coverage for builtin/show.mbt
**Disclaimer:** This PR was generated by an LLM agent as part of an experiment. ## Summary ``` coverage of `builtin/show.mbt`: 79.3% -> 89.7% ```
1 parent 530a51e commit ddb9946

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

builtin/show_test.mbt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,13 @@ test "Show for Char" {
231231
inspect!('\''.to_string(), content="'")
232232
inspect!('\\'.to_string(), content="\\")
233233
}
234+
235+
test "char show hex digits" {
236+
inspect!('\x01', content="'\\x01'")
237+
inspect!('\x0b', content="'\\x0b'")
238+
}
239+
240+
test "char_special" {
241+
inspect!('\r', content="'\\r'")
242+
inspect!('\b', content="'\\b'")
243+
}

0 commit comments

Comments
 (0)