-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from jippi/more-tests
print tests
- Loading branch information
Showing
19 changed files
with
143 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package print_cmd_test | ||
|
||
import ( | ||
"testing" | ||
|
||
"github.com/jippi/dottie/pkg/test_helpers" | ||
) | ||
|
||
func TestCommand(t *testing.T) { | ||
t.Parallel() | ||
|
||
test_helpers.RunFilebasedCommandTests(t, test_helpers.SkipEnvCopy, "print") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--no-color |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--pretty | ||
--no-color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
################################################################################ | ||
# My first group | ||
################################################################################ | ||
|
||
KEY_A="I'm key A" | ||
|
||
# Comment for KEY_B | ||
KEY_B="I'm key B" | ||
|
||
KEY_C="I'm key C" | ||
|
||
################################################################################ | ||
# My Second group | ||
################################################################################ | ||
|
||
GROUP_TWO_A="hello" | ||
# This is nice, format me | ||
GROUP_TWO_A="WORLD" | ||
|
||
################################################################################ | ||
# My Third group | ||
################################################################################ | ||
|
||
# A Comment | ||
|
||
# Another comment | ||
# with two lines | ||
|
||
SECRET=KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
################################################################################ | ||
# My first group | ||
################################################################################ | ||
|
||
KEY_A="I'm key A" | ||
|
||
# Comment for KEY_B | ||
KEY_B="I'm key B" | ||
|
||
KEY_C="I'm key C" | ||
|
||
################################################################################ | ||
# My Second group | ||
################################################################################ | ||
|
||
GROUP_TWO_A="hello" | ||
|
||
# This is nice, format me | ||
GROUP_TWO_A="WORLD" | ||
|
||
################################################################################ | ||
# My Third group | ||
################################################################################ | ||
|
||
# A Comment | ||
|
||
# Another comment | ||
# with two lines | ||
|
||
SECRET=KEY | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--no-color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
KEY_A="I'm key A" | ||
|
||
# Comment for KEY_B | ||
KEY_B="I'm key B" | ||
|
||
KEY_C="I'm key C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
KEY_A="I'm key A" | ||
KEY_B="I'm key B" | ||
KEY_C="I'm key C" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--no-color |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
KEY_A="I'm key A" | ||
# Comment for KEY_B | ||
KEY_B="I'm key B" | ||
KEY_C="I'm key C" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
KEY_A="I'm key A" | ||
KEY_B="I'm key B" | ||
KEY_C="I'm key C" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--no-color | ||
--group | ||
my-first-group |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
################################################################################ | ||
# My first group | ||
################################################################################ | ||
|
||
KEY_A="I'm key A" | ||
|
||
# Comment for KEY_B | ||
KEY_B="I'm key B" | ||
|
||
KEY_C="I'm key C" | ||
|
||
################################################################################ | ||
# My Second group | ||
################################################################################ | ||
|
||
GROUP_TWO_A="hello" | ||
# This is nice, format me | ||
GROUP_TWO_A="WORLD" | ||
|
||
################################################################################ | ||
# My Third group | ||
################################################################################ | ||
|
||
# A Comment | ||
|
||
# Another comment | ||
# with two lines | ||
|
||
SECRET=KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
KEY_A="I'm key A" | ||
KEY_B="I'm key B" | ||
KEY_C="I'm key C" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters