git.iko.soy/typeable/servant
on master help sign in
Add changelog and resurrect one test (higlights the change)
commit77f69101fb4d2cf5c55b97b63bf3735d29e42946 authorOleg Grenrus <oleg.grenrus@iki.fi> dateMon 16 Jan 2017, 11:51 (10 years ago) parentc20c094
2 files changed+9
servant-foreign/CHANGELOG.md+6 servant-foreign/test/Servant/ForeignSpec.hs+3
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+
170.7.1
28-----
39
servant-foreign/test/Servant/ForeignSpec.hs+3
@@ -19,6 +19,9 @@ camelCaseSpec = describe "camelCase" $ do
1919 it "converts FunctionNames to camelCase" $ do
2020 camelCase (FunctionName ["post", "counter", "inc"])
2121 `shouldBe` "postCounterInc"
22+ camelCase (FunctionName ["get", "hyphen-ated", "counter"])
23+ `shouldBe` "getHyphen-atedCounter"
24+
2225
2326----------------------------------------------------------------------
2427