diff options
author | Baylac-Jacqué Félix <felix@alternativebit.fr> | 2017-08-09 11:06:26 +0200 |
---|---|---|
committer | Baylac-Jacqué Félix <felix@alternativebit.fr> | 2017-08-09 11:06:26 +0200 |
commit | 77207e733d16ec50810a0bbd7869c8c29324a731 (patch) | |
tree | 22c5d2d9d7df1735be47fa02c8dc228f911e8a12 /tests/spec/Network/WireGuard | |
parent | uapi: upstream change (diff) | |
download | wireguard-hs-77207e733d16ec50810a0bbd7869c8c29324a731.tar.xz wireguard-hs-77207e733d16ec50810a0bbd7869c8c29324a731.zip |
Refactor project structure to exec + lib.
We want to add some unit tests to the project, hence, we need
a proper library.
Diffstat (limited to 'tests/spec/Network/WireGuard')
-rw-r--r-- | tests/spec/Network/WireGuard/RPCSpec.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/spec/Network/WireGuard/RPCSpec.hs b/tests/spec/Network/WireGuard/RPCSpec.hs new file mode 100644 index 0000000..b0422a3 --- /dev/null +++ b/tests/spec/Network/WireGuard/RPCSpec.hs @@ -0,0 +1,11 @@ +module Network.WireGuard.RPCSpec (spec) where + +import Test.Hspec (Spec, describe, it, shouldBe) + +import Network.WireGuard.RPC (runRPC) + + +spec :: Spec +spec = describe "test" $ + it "should fail" $ + True `shouldBe` False |