purescript-httpurple/test/Test/HTTPure/UtilsSpec.purs
Connor Prussin 8295d8755e
Clean up imports (#185)
* Clean up import declarations to only use qualified when necessary

* Remove unused imports
2021-11-18 22:16:35 -08:00

17 lines
384 B
Haskell

module Test.HTTPure.UtilsSpec where
import Test.Spec (describe, it)
import HTTPure.Utils (replacePlus)
import Test.HTTPure.TestHelpers (Test, (?=))
replacePlusSpec :: Test
replacePlusSpec =
describe "replacePlus" do
it "should replace all pluses" do
replacePlus "foo+bar+baz" ?= "foo%20bar%20baz"
utilsSpec :: Test
utilsSpec =
describe "Utils" do
replacePlusSpec