Skip to content

Commit

Permalink
Merge pull request #259 from CraigFe/dont-escape-period
Browse files Browse the repository at this point in the history
Allow period character to appear unescaped in test names
  • Loading branch information
craigfe authored Jul 14, 2020
2 parents 2898f23 + a3c531f commit d16d77a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/alcotest-engine/model.ml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ let escape str =
| `Uchar u ->
if Uchar.is_char u then
match Uchar.to_char u with
| ('A' .. 'Z' | 'a' .. 'z' | '0' .. '9' | '_' | '-' | ' ') as c ->
| ('A' .. 'Z' | 'a' .. 'z' | '0' .. '9' | '_' | '-' | ' ' | '.') as c
->
Buffer.add_char buf c
| _ -> add_codepoint buf u
else add_codepoint buf u
Expand Down

0 comments on commit d16d77a

Please # to comment.