-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(go): extract embedded runtime sanity check to _test file (#2568)
In order to avoid wasting cycles on every application start, moved the sanity test for embedded code being correct (checking size & SHA512 hash matches expected values) to a new `_test.go` file, so this is run by `go test`, but not during the actual runtime of any consuming app.
- Loading branch information
1 parent
8ef0dc1
commit e4a4d3c
Showing
2 changed files
with
122 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
/jsii-calc/ | ||
*.generated.go | ||
*.generated_test.go | ||
|
||
*.js | ||
*.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters