Skip to content

Commit

Permalink
correct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GGabriele committed Oct 31, 2023
1 parent 623dc26 commit aa19342
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions tests/integration/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import (
)

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

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

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

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

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

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

0 comments on commit aa19342

Please sign in to comment.