Browse Source

Boundary tests for int8range.

Alexander Sedov 8 years ago
parent
commit
79ccc34248
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/epgsql_tests.erl

+ 2 - 1
test/epgsql_tests.erl

@@ -971,7 +971,8 @@ range8_type_test(Module) ->
       9.2,
       fun(_C) ->
           check_type(Module, int8range, "int8range(10, 20)", {10, 20},
-                     [{1, 58}, {-1, 12}, {-985521, 5412687}, {minus_infinity, 0},
+                     [{1, 58}, {-1, 12}, {-9223372036854775808, 5412687},
+                      {minus_infinity, 9223372036854775807},
                       {984655, plus_infinity}, {minus_infinity, plus_infinity}])
       end,
       []).