hay-kot / scaffold

A cookie cutter alternative with in-project scaffolding for generating components, controllers, or other common code patterns.
https://hay-kot.github.io/scaffold/
MIT License
63 stars 8 forks source link

[bug?] running test gives `undefined: Inject` #128

Closed anthonychung14 closed 6 months ago

anthonychung14 commented 6 months ago

curious how you run tests.

I took a stab at implementing https://github.com/hay-kot/scaffold/issues/127 and wanted to test a new case.

however, running a command to test injector

go test app/scaffold/injector_test.go

gives me

# command-line-arguments [command-line-arguments.test]
app/scaffold/injector_test.go:57:16: undefined: Inject
FAIL    command-line-arguments [build failed]
FAIL
go version go1.22.3 darwin/arm64
anthonychung14 commented 6 months ago

ignore. I got it working