Skip to content

Commit

Permalink
padding update
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseCoretta committed Aug 17, 2023
1 parent 5015fc5 commit 8729bdf
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,21 @@ func TestList_001(t *testing.T) {
}
}

func TestList_001_withNoDelim(t *testing.T) {

A := List().Push(
`(top_element_number_0)`,
`(top_element_number_1)`,
`(top_element_number_2)`,
`(top_element_number_3)`,
)

want := `(top_element_number_0)(top_element_number_1)(top_element_number_2)(top_element_number_3)`
if got := A; got.String() != want {
t.Errorf("%s failed: want '%s', got '%s'", t.Name(), want, got)
}
}

func TestCustomStack001(t *testing.T) {
A := List().JoinDelim(`,`).Push(
`top_element_number_0`,
Expand Down

0 comments on commit 8729bdf

Please sign in to comment.