Skip to content

Commit

Permalink
fix: add comments to annotations in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nielm committed Sep 26, 2024
1 parent e765d92 commit 36cc8f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/test/resources/newDdl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ ON Albums (col1, col2)
== TEST 61 Add annotations to columns should not generate a diff

CREATE TABLE AlbumsIndex (
@ANNOTATION DEPRECATED,
-- @ANNOTATION DEPRECATED,
id STRING(36),
) PRIMARY KEY (id)

Expand All @@ -527,15 +527,15 @@ CREATE TABLE AlbumsIndex (
== TEST 63 Recorder annotations should not generate a diff

CREATE TABLE AlbumsIndex (
@ANNOTATION PII,
@ANNOTATION DEPRECATED,
-- @ANNOTATION PII,
-- @ANNOTATION DEPRECATED,
id STRING(36),
) PRIMARY KEY (id)

== TEST 64 Adding annotation as well as column should only generate the column diff

CREATE TABLE AlbumsIndex (
@ANNOTATION PII,
-- @ANNOTATION PII,
id STRING(36),
new_col STRING(255),
) PRIMARY KEY (id)
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/originalDdl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -518,15 +518,15 @@ CREATE TABLE AlbumsIndex (
== TEST 62 Remove annotations from columns should not generate a diff

CREATE TABLE AlbumsIndex (
@ANNOTATION DEPRECATED,
-- @ANNOTATION DEPRECATED,
id STRING(36),
) PRIMARY KEY (id)

== TEST 63 Recorder annotations should not generate a diff

CREATE TABLE AlbumsIndex (
@ANNOTATION DEPRECATED,
@ANNOTATION PII,
-- @ANNOTATION DEPRECATED,
-- @ANNOTATION PII,
id STRING(36),
) PRIMARY KEY (id)

Expand Down

0 comments on commit 36cc8f9

Please sign in to comment.