Add changelog and resurrect one test (higlights the change)
This commit is contained in:
parent
c20c09411d
commit
77f69101fb
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue