Skip to content

Commit

Permalink
fixed order
Browse files Browse the repository at this point in the history
  • Loading branch information
pkazmierczak committed Jul 14, 2022
1 parent d96a142 commit 2fab60c
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions nomad/structs/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7164,21 +7164,15 @@ func TestTaskDiff(t *testing.T) {
},
{
Type: DiffTypeAdded,
Name: "Perms",
Old: "",
New: "0776",
},
{
Type: DiffTypeAdded,
Name: "Uid",
Name: "Gid",
Old: "",
New: "1002",
New: "22",
},
{
Type: DiffTypeAdded,
Name: "Gid",
Name: "Perms",
Old: "",
New: "22",
New: "0776",
},
{
Type: DiffTypeAdded,
Expand All @@ -7192,6 +7186,12 @@ func TestTaskDiff(t *testing.T) {
Old: "",
New: "3",
},
{
Type: DiffTypeAdded,
Name: "Uid",
Old: "",
New: "1002",
},
{
Type: DiffTypeAdded,
Name: "VaultGrace",
Expand Down Expand Up @@ -7256,20 +7256,14 @@ func TestTaskDiff(t *testing.T) {
},
{
Type: DiffTypeDeleted,
Name: "Perms",
Old: "0666",
New: "",
},
{
Type: DiffTypeDeleted,
Name: "Uid",
Old: "1000",
Name: "Gid",
Old: "20",
New: "",
},
{
Type: DiffTypeDeleted,
Name: "Gid",
Old: "20",
Name: "Perms",
Old: "0666",
New: "",
},
{
Expand All @@ -7284,6 +7278,12 @@ func TestTaskDiff(t *testing.T) {
Old: "2",
New: "",
},
{
Type: DiffTypeDeleted,
Name: "Uid",
Old: "1000",
New: "",
},
{
Type: DiffTypeDeleted,
Name: "VaultGrace",
Expand Down

0 comments on commit 2fab60c

Please sign in to comment.