on master help sign in
Add changelog and resurrect one test (higlights the change)
77f6910Oleg Grenrus
servant-foreign/CHANGELOG.md+6
@@ -1,3 +1,9 @@
1+0.10
2+----
3+
4+* Do not apply JavaScript specific mangling to the names.
5+ ([#191](https://github.com/haskell-servant/servant/issues/191))
6+
10.7.1
70.7.1
2-----
8-----
3
9
servant-foreign/test/Servant/ForeignSpec.hs+3
@@ -19,6 +19,9 @@ camelCaseSpec = describe "camelCase" $ do
19 it "converts FunctionNames to camelCase" $ do
19 it "converts FunctionNames to camelCase" $ do
20 camelCase (FunctionName ["post", "counter", "inc"])
20 camelCase (FunctionName ["post", "counter", "inc"])
21 `shouldBe` "postCounterInc"
21 `shouldBe` "postCounterInc"
22+ camelCase (FunctionName ["get", "hyphen-ated", "counter"])
23+ `shouldBe` "getHyphen-atedCounter"
24+
22
25
23----------------------------------------------------------------------
26----------------------------------------------------------------------
24
27