Add changelog and resurrect one test (higlights the change)

This commit is contained in:
Oleg Grenrus 2017-01-16 11:51:35 +02:00
parent c20c09411d
commit 77f69101fb
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,9 @@
0.10
----
* Do not apply JavaScript specific mangling to the names.
([#191](https://github.com/haskell-servant/servant/issues/191))
0.7.1 0.7.1
----- -----

View file

@ -19,6 +19,9 @@ camelCaseSpec = describe "camelCase" $ do
it "converts FunctionNames to camelCase" $ do it "converts FunctionNames to camelCase" $ do
camelCase (FunctionName ["post", "counter", "inc"]) camelCase (FunctionName ["post", "counter", "inc"])
`shouldBe` "postCounterInc" `shouldBe` "postCounterInc"
camelCase (FunctionName ["get", "hyphen-ated", "counter"])
`shouldBe` "getHyphen-atedCounter"
---------------------------------------------------------------------- ----------------------------------------------------------------------