Skip to content

Commit

Permalink
Add wordWalker test
Browse files Browse the repository at this point in the history
  • Loading branch information
noamcohen97 committed Sep 26, 2024
1 parent d39ad0a commit bbe0df8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions codegen/templates/templates_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ func Test_wordWalker(t *testing.T) {
input: makeInput("RelatedUrls"),
expected: []*wordInfo{{Word: "Related"}, {WordOffset: 1, Word: "Urls"}},
},
{
input: makeInput("USER_IDENTITY"),
expected: []*wordInfo{{Word: "USER"}, {WordOffset: 1, Word: "IDENTITY"}},
},
{
input: makeInput("ITicket"),
expected: []*wordInfo{{Word: "ITicket"}},
Expand Down

0 comments on commit bbe0df8

Please sign in to comment.