Skip to content

Commit 77f6910

Browse files
committed
Add changelog and resurrect one test (higlights the change)
1 parent c20c094 commit 77f6910

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

servant-foreign/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
17
0.7.1
28
-----
39

servant-foreign/test/Servant/ForeignSpec.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)