Skip to content

Commit

Permalink
Address error
Browse files Browse the repository at this point in the history
Signed-off-by: Ritika Srivastava <[email protected]>
  • Loading branch information
ritikasrivastava committed Oct 22, 2024
1 parent a956ca7 commit 1f3a16d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/translate/output_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ BlockName=B2 Nodes=Node[201-202],Node205
BlockSizes=8
`

testBlockConfig3 = `BlockName=B3 Nodes=Node[301-303]
testBlockConfig2 = `BlockName=B3 Nodes=Node[301-303]
BlockName=B4 Nodes=Node[401-403]
BlockName=B1 Nodes=Node[104-106]
BlockName=B2 Nodes=Node[201-202],Node205
Expand Down Expand Up @@ -76,7 +76,7 @@ func TestToBlockMultiIBSLURM(t *testing.T) {
err := ToSLURM(buf, v)
require.NoError(t, err)
switch buf.String() {
case testBlockConfig3:
case testBlockConfig2:
// nop
default:
t.Errorf("unexpected result %s", buf.String())
Expand All @@ -89,7 +89,7 @@ func TestToBlockIBSLURM(t *testing.T) {
err := ToSLURM(buf, v)
require.NoError(t, err)
switch buf.String() {
case testBlockConfig1:
case testBlockConfig:
// nop
default:
t.Errorf("unexpected result %s", buf.String())
Expand Down

0 comments on commit 1f3a16d

Please sign in to comment.