Skip to content

Commit

Permalink
Move expectedChanged
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Mar 18, 2024
1 parent f78a91e commit 5cfca4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rdbms/primary_key/primary_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@ func TestKeys_UpdateStartingValue(t *testing.T) {
{Name: "Key1", StartingValue: "Start1", EndingValue: "End1"},
{Name: "Key2", StartingValue: 2, EndingValue: 2},
},
expectedChanged: false,
keyName: "Key1",
startingVal: "Start1",
expectedChanged: false,
expectedKeys: []Key{
{Name: "Key1", StartingValue: "Start1", EndingValue: "End1"},
{Name: "Key2", StartingValue: 2, EndingValue: 2},
Expand All @@ -134,9 +134,9 @@ func TestKeys_UpdateStartingValue(t *testing.T) {
keys: []Key{
{Name: "Key1", StartingValue: "Start1", EndingValue: "End1"},
},
expectedChanged: true,
keyName: "Key1",
startingVal: startVal2,
expectedChanged: true,
expectedKeys: []Key{
{Name: "Key1", StartingValue: "Start2", EndingValue: "End1"},
},
Expand Down

0 comments on commit 5cfca4c

Please sign in to comment.