Skip to content

Commit

Permalink
add additional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Jan 19, 2016
1 parent 010e73f commit e407ca5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Luke said, "No. No! That's not true! That's impossible!" in a shocked voice.
shouldEqual(t, `echo 'hi' | xo '/(hi)/te\/st/mi'`,
`te/st
`)
shouldExit(t, `echo 'hi' | xo '/(hi)/te/st/mi'`, 1)
shouldExit(t, `echo '1' | xo '/^(\s)/$1/'`, 1)
shouldExit(t, `echo '1' | xo '/1/'`, 1)
shouldExit(t, `echo '1' | xo ///`, 1)
Expand Down

0 comments on commit e407ca5

Please sign in to comment.