Skip to content

Commit

Permalink
Fix gofmt complaints.
Browse files Browse the repository at this point in the history
  • Loading branch information
okeuday committed Feb 1, 2017
1 parent e3132f0 commit 983e345
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/erlang/erlang_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@ func TestDecodeBinaryToTermBinary(t *testing.T) {
}

func TestDecodeBinaryToTermFloat(t *testing.T) {
assertDecodeError(t, "EOF","\x83F", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00\x00", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00\x00\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00\x00\x00\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF","\x83F\x00\x00\x00\x00\x00\x00\x00", "")
assertDecodeError(t, "EOF", "\x83F", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00\x00", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00\x00\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00\x00\x00\x00\x00\x00", "")
assertDecodeError(t, "unexpected EOF", "\x83F\x00\x00\x00\x00\x00\x00\x00", "")
assertEqual(t, 0.0, decode(t, "\x83F\x00\x00\x00\x00\x00\x00\x00\x00"), "")
assertEqual(t, 1.5, decode(t, "\x83F?\xf8\x00\x00\x00\x00\x00\x00"), "")
}
Expand Down

0 comments on commit 983e345

Please sign in to comment.