From 9185a377c0adea66ea4f6c367ad85639902447be Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 27 May 2022 14:26:56 +0100 Subject: [PATCH] Add example inline-toml dictionary --- .../compute/testdata/init/fastly-viceroy-update.toml | 8 ++++++++ pkg/manifest/testdata/fastly-viceroy-update.toml | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/pkg/commands/compute/testdata/init/fastly-viceroy-update.toml b/pkg/commands/compute/testdata/init/fastly-viceroy-update.toml index 7d6a8f4c0..616395b47 100644 --- a/pkg/commands/compute/testdata/init/fastly-viceroy-update.toml +++ b/pkg/commands/compute/testdata/init/fastly-viceroy-update.toml @@ -26,3 +26,11 @@ name = "Default Rust template" [local_server.dictionaries.strings] file = "strings.json" format = "json" + + [local_server.dictionaries.toml] + format = "inline-toml" + + [local_server.dictionaries.toml.contents] + foo = "bar" + baz = """ +qux""" diff --git a/pkg/manifest/testdata/fastly-viceroy-update.toml b/pkg/manifest/testdata/fastly-viceroy-update.toml index 7d6a8f4c0..616395b47 100644 --- a/pkg/manifest/testdata/fastly-viceroy-update.toml +++ b/pkg/manifest/testdata/fastly-viceroy-update.toml @@ -26,3 +26,11 @@ name = "Default Rust template" [local_server.dictionaries.strings] file = "strings.json" format = "json" + + [local_server.dictionaries.toml] + format = "inline-toml" + + [local_server.dictionaries.toml.contents] + foo = "bar" + baz = """ +qux"""