aboutsummaryrefslogtreecommitdiff
path: root/internal/config/load_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/load_test.go')
-rw-r--r--internal/config/load_test.go13
1 files changed, 6 insertions, 7 deletions
diff --git a/internal/config/load_test.go b/internal/config/load_test.go
index 5f848af..a629ae5 100644
--- a/internal/config/load_test.go
+++ b/internal/config/load_test.go
@@ -72,9 +72,9 @@ func TestLoadErrors(t *testing.T) {
}
}
-// TestLoadSyntaxErrorStopsAtOneDiag is item C: a krino.conf that fails to
-// parse must report only the syntax error, not also "not in include" for
-// names the caller asked for.
+// TestLoadSyntaxErrorStopsAtOneDiag: a krino.conf that fails to parse must
+// report only the syntax error, not also "not in include" for names the
+// caller asked for.
func TestLoadSyntaxErrorStopsAtOneDiag(t *testing.T) {
root := t.TempDir()
writeFiles(t, root, map[string]string{"krino.conf": `(include "dl"`})
@@ -146,7 +146,7 @@ func TestLoadWithOverriddenText(t *testing.T) {
// TestLoadWithReportsAnUnusedOverride: an override whose path does not name
// a file the load reads - a different spelling of it, or a directory not in
// include - is reported, instead of the file on disk being read as though
-// the unsaved text were fine (plan 13 review F4).
+// the unsaved text were fine.
func TestLoadWithReportsAnUnusedOverride(t *testing.T) {
h := t.TempDir()
t.Setenv("HOME", h)
@@ -180,7 +180,7 @@ func diagText(ds []*Diag) string {
// TestLoadWithOverrideForAnotherIncludedDirectory: checking one directory
// while holding text for another included one is normal for an editor, and
// not an error; only text for a file no configuration file names is
-// reported (plan 13 review F4 follow-up).
+// reported.
func TestLoadWithOverrideForAnotherIncludedDirectory(t *testing.T) {
h := t.TempDir()
t.Setenv("HOME", h)
@@ -201,8 +201,7 @@ func TestLoadWithOverrideForAnotherIncludedDirectory(t *testing.T) {
}
// TestLoadWithRefusesCollidingOverrides: two keys that name the same file
-// would leave which text is read to map order, so they are refused (plan 13
-// review F4 follow-up).
+// would leave which text is read to map order, so they are refused.
func TestLoadWithRefusesCollidingOverrides(t *testing.T) {
h := t.TempDir()
t.Setenv("HOME", h)