Skip to content

Commit

Permalink
tests(cli): update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Nov 2, 2023
1 parent 141c720 commit d8ac9b0
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions tests/integration/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
)

var (
expectedOutputMasked = `Warning: 'deck diff' is DEPRECATED and will be removed in a future version. Use 'deck gateway diff' instead.
updating service svc1 {
expectedOutputMasked = `updating service svc1 {
"connect_timeout": 60000,
"enabled": true,
"host": "[masked]",
Expand All @@ -38,8 +37,7 @@ Summary:
Deleted: 0
`

expectedOutputUnMasked = `Warning: 'deck diff' is DEPRECATED and will be removed in a future version. Use 'deck gateway diff' instead.
updating service svc1 {
expectedOutputUnMasked = `updating service svc1 {
"connect_timeout": 60000,
"enabled": true,
"host": "mockbin.org",
Expand Down Expand Up @@ -70,8 +68,7 @@ Summary:
"DECK_FOO": "foo_test", // unused, partial match
}

expectedOutputUnMaskedJSON = `Warning: 'deck diff' is DEPRECATED and will be removed in a future version. Use 'deck gateway diff' instead.
{
expectedOutputUnMaskedJSON = `{
"changes": {
"creating": [
{
Expand Down Expand Up @@ -167,8 +164,7 @@ Summary:
`

expectedOutputMaskedJSON = `Warning: 'deck diff' is DEPRECATED and will be removed in a future version. Use 'deck gateway diff' instead.
{
expectedOutputMaskedJSON = `{
"changes": {
"creating": [
{
Expand Down Expand Up @@ -268,8 +264,7 @@ Summary:
`

expectedOutputUnMaskedJSON30x = `Warning: 'deck diff' is DEPRECATED and will be removed in a future version. Use 'deck gateway diff' instead.
{
expectedOutputUnMaskedJSON30x = `{
"changes": {
"creating": [
{
Expand Down Expand Up @@ -363,8 +358,7 @@ Summary:
`

expectedOutputMaskedJSON30x = `Warning: 'deck diff' is DEPRECATED and will be removed in a future version. Use 'deck gateway diff' instead.
{
expectedOutputMaskedJSON30x = `{
"changes": {
"creating": [
{
Expand Down

0 comments on commit d8ac9b0

Please sign in to comment.