From ce6e61674f3e93959aaa968a7184bcadfac26701 Mon Sep 17 00:00:00 2001 From: Yann Hamdaoui Date: Tue, 14 Nov 2023 23:02:12 +0100 Subject: [PATCH] Fix typos in snapshot tests --- .../{unkonwn_field_path.ncl => unknown_field_path.ncl} | 0 .../snapshot__export_stderr_unknown_field_path.ncl.snap | 8 ++++++++ .../snapshot__export_stderr_unknown_override.ncl.snap | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) rename cli/tests/snapshot/inputs/customize-mode/{unkonwn_field_path.ncl => unknown_field_path.ncl} (100%) create mode 100644 cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_field_path.ncl.snap diff --git a/cli/tests/snapshot/inputs/customize-mode/unkonwn_field_path.ncl b/cli/tests/snapshot/inputs/customize-mode/unknown_field_path.ncl similarity index 100% rename from cli/tests/snapshot/inputs/customize-mode/unkonwn_field_path.ncl rename to cli/tests/snapshot/inputs/customize-mode/unknown_field_path.ncl diff --git a/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_field_path.ncl.snap b/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_field_path.ncl.snap new file mode 100644 index 0000000000..a9f829640d --- /dev/null +++ b/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_field_path.ncl.snap @@ -0,0 +1,8 @@ +--- +source: cli/tests/snapshot/main.rs +expression: err +--- +error: invalid query: unknown field `unknown.field.path` + = `unknown.field.path` doesn't refer to record field accessible from the root of the configuration. + + diff --git a/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_override.ncl.snap b/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_override.ncl.snap index 447cc68749..0aff5b6df4 100644 --- a/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_override.ncl.snap +++ b/cli/tests/snapshot/snapshots/snapshot__export_stderr_unknown_override.ncl.snap @@ -2,7 +2,7 @@ source: cli/tests/snapshot/main.rs expression: err --- -error: invalid override: unknown field `unkonwn.field.path` - = `unkonwn.field.path` doesn't refer to record field accessible from the root of the configuration. +error: invalid override: unknown field `unknown.field.path` + = `unknown.field.path` doesn't refer to record field accessible from the root of the configuration.