diff --git a/cmd/cue/cmd/testdata/script/encoding_jsonl.txtar b/cmd/cue/cmd/testdata/script/encoding_jsonl.txtar index 5de6687684b..8f21e57dae5 100644 --- a/cmd/cue/cmd/testdata/script/encoding_jsonl.txtar +++ b/cmd/cue/cmd/testdata/script/encoding_jsonl.txtar @@ -28,8 +28,6 @@ cmp stdout export-one.stdout # Check that `cue import` supports all filenames too, # both by default and when loading JSON only. -# TODO(mvdan): note that `cue import --dry-run` does not work, -# so we need to use rm and stderr checks to ensure we create the files we expect. ! exec cue import --list --dry-run . stderr 'invalid JSON .*input-many.json.* after top-level value' diff --git a/cmd/cue/cmd/testdata/script/module_compatibility_backwards.txtar b/cmd/cue/cmd/testdata/script/module_compatibility_backwards.txtar index 2df30bd412c..9b3d322014e 100644 --- a/cmd/cue/cmd/testdata/script/module_compatibility_backwards.txtar +++ b/cmd/cue/cmd/testdata/script/module_compatibility_backwards.txtar @@ -35,7 +35,6 @@ cd premodules-downstream-direct stderr '^no language version declared in module.cue; run ''cue mod fix''$' # Upstream development works once `cue mod fix` adds a language.version field. -# TODO(mvdan): we don't have anything like `cue mod edit -langversion` if the user wants an older version. ! exec cue mod tidy --check stderr '^no language version declared in module.cue; run ''cue mod fix''$' ! exec cue mod get some.dependency diff --git a/encoding/toml/decode_test.go b/encoding/toml/decode_test.go index a1a250220c5..9b8275605b9 100644 --- a/encoding/toml/decode_test.go +++ b/encoding/toml/decode_test.go @@ -803,8 +803,6 @@ line two.\ // Ensure that the CUE node can be compiled into a cue.Value and validated. ctx := cuecontext.New() - // TODO(mvdan): cue.Context can only build ast.Expr or ast.File, not ast.Node; - // it's then likely not the right choice for the interface to return ast.Node. val := ctx.BuildFile(file) qt.Assert(t, qt.IsNil(val.Err())) qt.Assert(t, qt.IsNil(val.Validate()))