Permalink
Browse files

Remove experimental record encoding tests

  • Loading branch information...
1 parent 0f3c250 commit b4ca5b7175afca6a3042a57212e879e26d477594 Yurii Rashkovskii committed Jan 22, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 test/exn_test.exs
View
@@ -8,8 +8,6 @@ defmodule ExnTest.Properties do
end
end
-defrecord TestRecord, a: nil
-
defmodule ExnTest do
use ExUnit.Case
use Proper.Properties
@@ -46,14 +44,6 @@ defmodule ExnTest do
assert Exn.decode("%r\".*\"") == %r(.*)
end
- test "record encoding" do
- assert Exn.encode(TestRecord.new(a: 1)) == "{TestRecord,[a: 1]}"
- end
-
- test "record decoding" do
- assert Exn.decode("{TestRecord,[a: 1]}") == {TestRecord,[a: 1]}
- end
-
test "pid encoding" do
me = self
assert Exn.EncodeError[value: ^me] = catch_error(Exn.encode(me))

0 comments on commit b4ca5b7

Please sign in to comment.