mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
tweak expected error message for ts_A_create_table_not_null_pk_fields
This commit is contained in:
parent
6e158e6ee5
commit
2519da7300
@ -25,13 +25,13 @@
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
-export([
|
||||
confirm/0
|
||||
]).
|
||||
confirm/0
|
||||
]).
|
||||
|
||||
confirm() ->
|
||||
ClusterType = single,
|
||||
DDL = ts_util:get_ddl(not_null_primary_key_field_fail),
|
||||
Expected = {ok, "Error validating table definition for bucket type GeoCheckin:\nAll fields in primary key must be not null\n"},
|
||||
Expected = {ok, "Error validating table definition for bucket type GeoCheckin:\nPrimary key has 'null' fields (myseries)\n"},
|
||||
Got = ts_util:create_bucket_type(ts_util:build_cluster(ClusterType), DDL),
|
||||
?assertEqual(Expected, Got),
|
||||
pass.
|
||||
|
Loading…
Reference in New Issue
Block a user