Skip to content

Commit f5e2469

Browse files
committedSep 26, 2024··
chore: fix casing of files in test
1 parent bd0e848 commit f5e2469

File tree

4 files changed

+111
-4
lines changed

4 files changed

+111
-4
lines changed
 

‎.version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2.778
1+
0.2.786

‎cmd/templ/lspcmd/lsp_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,11 @@ func TestReferences(t *testing.T) {
403403
// this test is for inclusions from a remote file that has not been explicitly called with didOpen
404404
line: 3,
405405
character: 9,
406-
filename: "/remoteChild.templ",
406+
filename: "/remotechild.templ",
407407
assert: func(t *testing.T, actual []protocol.Location) (msg string, ok bool) {
408408
expectedReference := []protocol.Location{
409409
{
410-
URI: uri.URI("file://" + appDir + "/remoteParent.templ"),
410+
URI: uri.URI("file://" + appDir + "/remoteparent.templ"),
411411
Range: protocol.Range{
412412
Start: protocol.Position{
413413
Line: uint32(3),
@@ -420,7 +420,7 @@ func TestReferences(t *testing.T) {
420420
},
421421
},
422422
{
423-
URI: uri.URI("file://" + appDir + "/remoteParent.templ"),
423+
URI: uri.URI("file://" + appDir + "/remoteparent.templ"),
424424
Range: protocol.Range{
425425
Start: protocol.Position{
426426
Line: uint32(7),

‎cmd/templ/testproject/testdata/remotechild_templ.go

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎cmd/templ/testproject/testdata/remoteparent_templ.go

+68
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.