Skip to content

Commit ebaa5ea

Browse files
committed
test: Ensure all test cases still work.
1 parent a21ec34 commit ebaa5ea

File tree

13 files changed

+795
-768
lines changed

13 files changed

+795
-768
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ include ./standard.mk
55

66
# go install golang.org/dl/go{VERSION}@latest
77
# go{VERSION} download
8-
GO_VER=1.24.5
8+
GO_VER=1.24.6
99
GOBIN=$(shell ./find-go-bin.sh)
1010
BINARY_NAME=terraform-provider-corefunc
1111

@@ -240,7 +240,7 @@ unit:
240240
## mutate: [test] Runs mutation tests.
241241
mutate:
242242
@ $(HEADER) "=====> Running mutation tests..."
243-
cd ./corefunc && $(GO) test -tags=mutation -count=1 -parallel=$(shell nproc) -timeout 30s -ooze.v=true | ggrep -v "^[[:lower:]]" | ggrep -v "^)"
243+
cd ./corefunc && $(GO) test -tags=mutation -count=1 -parallel=$(shell nproc) -timeout 30s
244244

245245
.PHONY: terratest
246246
## terratest: [test] Runs Terratest tests.

acc-coverage.png

6.28 KB
Loading

acc-coverage.svg

Lines changed: 304 additions & 330 deletions
Loading

bats/tfschema_listing.bats.sh

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@
1111
[[ ${lines[3]} == "corefunc_int_leftpad" ]]
1212
[[ ${lines[4]} == "corefunc_net_cidr_contains" ]]
1313
[[ ${lines[5]} == "corefunc_runtime_cpuarch" ]]
14-
[[ ${lines[6]} == "corefunc_runtime_goroot" ]]
15-
[[ ${lines[7]} == "corefunc_runtime_numcpus" ]]
16-
[[ ${lines[8]} == "corefunc_runtime_os" ]]
17-
[[ ${lines[9]} == "corefunc_str_base64_gunzip" ]]
18-
[[ ${lines[10]} == "corefunc_str_camel" ]]
19-
[[ ${lines[11]} == "corefunc_str_constant" ]]
20-
[[ ${lines[12]} == "corefunc_str_iterative_replace" ]]
21-
[[ ${lines[13]} == "corefunc_str_kebab" ]]
22-
[[ ${lines[14]} == "corefunc_str_leftpad" ]]
23-
[[ ${lines[15]} == "corefunc_str_pascal" ]]
24-
[[ ${lines[16]} == "corefunc_str_snake" ]]
25-
[[ ${lines[17]} == "corefunc_str_truncate_label" ]]
26-
[[ ${lines[18]} == "corefunc_toml_to_json" ]]
27-
[[ ${lines[19]} == "corefunc_url_decode" ]]
28-
[[ ${lines[20]} == "corefunc_url_parse" ]]
14+
[[ ${lines[6]} == "corefunc_runtime_numcpus" ]]
15+
[[ ${lines[7]} == "corefunc_runtime_os" ]]
16+
[[ ${lines[8]} == "corefunc_str_base64_gunzip" ]]
17+
[[ ${lines[9]} == "corefunc_str_camel" ]]
18+
[[ ${lines[10]} == "corefunc_str_constant" ]]
19+
[[ ${lines[11]} == "corefunc_str_iterative_replace" ]]
20+
[[ ${lines[12]} == "corefunc_str_kebab" ]]
21+
[[ ${lines[13]} == "corefunc_str_leftpad" ]]
22+
[[ ${lines[14]} == "corefunc_str_pascal" ]]
23+
[[ ${lines[15]} == "corefunc_str_snake" ]]
24+
[[ ${lines[16]} == "corefunc_str_truncate_label" ]]
25+
[[ ${lines[17]} == "corefunc_toml_to_json" ]]
26+
[[ ${lines[18]} == "corefunc_url_decode" ]]
27+
[[ ${lines[19]} == "corefunc_url_parse" ]]
2928
}

corefuncprovider/env_ensure_function_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ import (
3232
)
3333

3434
func TestAccEnvEnsureFunction(t *testing.T) {
35-
t.Parallel()
36-
3735
funcName := traceFuncName()
3836

3937
for name, tc := range testfixtures.EnvEnsureTestTable { // lint:no_dupe

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ require (
139139
github.com/kevinburke/ssh_config v1.2.0 // indirect
140140
github.com/kisielk/gotool v1.0.0 // indirect
141141
github.com/klauspost/compress v1.18.0 // indirect
142-
github.com/kr/pretty v0.3.1 // indirect
143142
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
144143
github.com/mattn/go-colorable v0.1.14 // indirect
145144
github.com/mattn/go-isatty v0.0.20 // indirect
@@ -183,7 +182,6 @@ require (
183182
github.com/quasilyte/go-consistent v0.6.2 // indirect
184183
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
185184
github.com/rivo/uniseg v0.4.7 // indirect
186-
github.com/rogpeppe/go-internal v1.14.1 // indirect
187185
github.com/rust-secure-code/go-rustaudit v0.0.0-20250226111315-e20ec32e963c // indirect
188186
github.com/saferwall/pe v1.5.7 // indirect
189187
github.com/sahilm/fuzzy v0.1.1 // indirect
@@ -244,7 +242,6 @@ require (
244242
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
245243
google.golang.org/grpc v1.74.2 // indirect
246244
google.golang.org/protobuf v1.36.7 // indirect
247-
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
248245
gopkg.in/ini.v1 v1.67.0 // indirect
249246
gopkg.in/warnings.v0 v0.1.2 // indirect
250247
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

Lines changed: 99 additions & 26 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)