diff options
Diffstat (limited to 'testscripts/commands/config.txt')
-rw-r--r-- | testscripts/commands/config.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testscripts/commands/config.txt b/testscripts/commands/config.txt new file mode 100644 index 000000000..7f8fc4974 --- /dev/null +++ b/testscripts/commands/config.txt @@ -0,0 +1,19 @@ +# Test the config command. + +hugo config -h +stdout 'Print the site configuration' + + +hugo config +stdout '\"baseurl\": \"https://example.com/\",' + +hugo config mounts -h +stdout 'Print the configured file mounts' + +hugo config mounts +stdout '\"source\": \"content\",' + +# Test files +-- hugo.toml -- +baseURL="https://example.com/" +title="My New Hugo Site" |