aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-03-15 16:20:11 +0900
committerMichael Paquier <michael@paquier.xyz>2019-03-15 16:20:11 +0900
commit4e197bf19556a1699b0e11e1ff111d77d09f6f80 (patch)
tree35dd6380a1a8c4fc19edc231dd4b8d388c6a661c /src
parentbb16aba50c9492490a0b57e600a932798f45cd4f (diff)
downloadpostgresql-4e197bf19556a1699b0e11e1ff111d77d09f6f80.tar.gz
postgresql-4e197bf19556a1699b0e11e1ff111d77d09f6f80.zip
Fix typo related to to_tsvector() in tests of json and jsonb
Author: Sho Kato Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/25C1C6B2E7BE044889E4FE8643A58BA963E1D03D@G01JPEXMBKW03
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/json.out2
-rw-r--r--src/test/regress/expected/jsonb.out2
-rw-r--r--src/test/regress/sql/json.sql2
-rw-r--r--src/test/regress/sql/jsonb.sql2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/regress/expected/json.out b/src/test/regress/expected/json.out
index 66d10ae30d1..cb935980394 100644
--- a/src/test/regress/expected/json.out
+++ b/src/test/regress/expected/json.out
@@ -2427,7 +2427,7 @@ select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d":
'123':5 '456':7 'aaa':1 'bbb':3
(1 row)
--- ts_vector corner cases
+-- to_tsvector corner cases
select to_tsvector('""'::json);
to_tsvector
-------------
diff --git a/src/test/regress/expected/jsonb.out b/src/test/regress/expected/jsonb.out
index 8dcdaf56027..c251eb70be9 100644
--- a/src/test/regress/expected/jsonb.out
+++ b/src/test/regress/expected/jsonb.out
@@ -4225,7 +4225,7 @@ select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d"
'123':5 '456':7 'aaa':1 'bbb':3
(1 row)
--- ts_vector corner cases
+-- to_tsvector corner cases
select to_tsvector('""'::jsonb);
to_tsvector
-------------
diff --git a/src/test/regress/sql/json.sql b/src/test/regress/sql/json.sql
index d1e40084277..0f0a32e2a0e 100644
--- a/src/test/regress/sql/json.sql
+++ b/src/test/regress/sql/json.sql
@@ -788,7 +788,7 @@ select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d":
select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"boolean"');
select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '["string", "numeric"]');
--- ts_vector corner cases
+-- to_tsvector corner cases
select to_tsvector('""'::json);
select to_tsvector('{}'::json);
select to_tsvector('[]'::json);
diff --git a/src/test/regress/sql/jsonb.sql b/src/test/regress/sql/jsonb.sql
index 6cbdfe43958..1bf32076e30 100644
--- a/src/test/regress/sql/jsonb.sql
+++ b/src/test/regress/sql/jsonb.sql
@@ -1114,7 +1114,7 @@ select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d"
select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"boolean"');
select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '["string", "numeric"]');
--- ts_vector corner cases
+-- to_tsvector corner cases
select to_tsvector('""'::jsonb);
select to_tsvector('{}'::jsonb);
select to_tsvector('[]'::jsonb);