opentofu/internal/configs/configload
Martin Atkins 30fcff72d8 tofu+configload: Test utilities take testing.TB
A lot of our testing utilities were written before the introduction of the
testing.TB interface that represents what *testing.T and *testing.B have
in common, and those that weren't have followed precedent from those that
were in directly expecting *testing.T.

Using testing.TB instead makes these helpers usable from both normal tests
and testing benchmark functions, since they only use methods that are
available in both contexts.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-02-19 08:15:29 -08:00
..
testdata Revert "Fixes #898: Replace hashicorp and terraform references" (#995) 2023-12-11 15:10:03 -05:00
doc.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
loader_load_test.go Static Evaluation Base, Module Sources, Backend Config (#1718) 2024-06-24 09:13:07 -04:00
loader_load.go Static Evaluation Base, Module Sources, Backend Config (#1718) 2024-06-24 09:13:07 -04:00
loader_snapshot_test.go Fix more tests on Windows (#1824) 2024-07-17 10:41:12 -04:00
loader_snapshot.go configs: Fix quadratic buildChildModules 2025-01-02 13:29:03 -08:00
loader_test.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
loader.go Avoid copies on calls to parser.Sources() (#1811) 2024-07-29 16:15:51 -04:00
module_mgr.go Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
testing.go tofu+configload: Test utilities take testing.TB 2025-02-19 08:15:29 -08:00