Skip to content

Commit

Permalink
chore: fix incorrect comment [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h committed Aug 21, 2024
1 parent 3f48e22 commit 8519fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/templ/imports/process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ templ Page(count int) {
t.Fatalf("failed to process file: %v", err)
}

// Assert that the import has been added.
// Write it back out after processing.
buf := new(strings.Builder)
if err := tf.Write(buf); err != nil {
t.Fatalf("failed to write template file: %v", err)
}

// Check that there's only one import.
// Assert.
test.assertions(t, buf.String())
}
}

0 comments on commit 8519fca

Please sign in to comment.