Skip to content

Commit

Permalink
Added missing test case for camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Smith committed Apr 11, 2017
1 parent 8f471c5 commit 6bb9074
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/accent/transformers/camel_case_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,9 @@ defmodule Accent.Transformer.CamelCaseTest do
test "supports atom as an input" do
assert Accent.Transformer.CamelCase.call(:hello_world) == :HelloWorld
end

test "properly handles multiple consecutive underscores" do
assert Accent.Transformer.CamelCase.call("hello__world") == "HelloWorld"
end
end
end

0 comments on commit 6bb9074

Please sign in to comment.