aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2021-07-16 11:07:16 +0100
committerGitHub <noreply@github.com>2021-07-16 11:07:16 +0100
commit68937a4eae6a71b74edbf762c574cc2dc22bb2d6 (patch)
treee61837e75eeb361af0c3624a7f28169a9d06bf60 /test
parent5617e65751193afb3c88fbc6cb8a32822ff52ffa (diff)
parent87271c5a55ad6412114c4b153c1a8d0bd37156f5 (diff)
downloadfpm-68937a4eae6a71b74edbf762c574cc2dc22bb2d6.tar.gz
fpm-68937a4eae6a71b74edbf762c574cc2dc22bb2d6.zip
Merge pull request #511 from urbanjost/warn_blank_name
check name used for package, executable, test, or example
Diffstat (limited to 'test')
-rw-r--r--test/fpm_test/test_manifest.f904
-rw-r--r--test/fpm_test/test_toml.f904
2 files changed, 4 insertions, 4 deletions
diff --git a/test/fpm_test/test_manifest.f90 b/test/fpm_test/test_manifest.f90
index 69c86fd..0f64aca 100644
--- a/test/fpm_test/test_manifest.f90
+++ b/test/fpm_test/test_manifest.f90
@@ -85,13 +85,13 @@ contains
& '[dependencies.fpm]', &
& 'git = "https://github.com/fortran-lang/fpm"', &
& '[[executable]]', &
- & 'name = "example-#1" # comment', &
+ & 'name = "example-1" # comment', &
& 'source-dir = "prog"', &
& '[dependencies]', &
& 'toml-f.git = "git@github.com:toml-f/toml-f.git"', &
& '"toml..f" = { path = ".." }', &
& '[["executable"]]', &
- & 'name = "example-#2"', &
+ & 'name = "example-2"', &
& 'source-dir = "prog"', &
& '[executable.dependencies]', &
& '[''library'']', &
diff --git a/test/fpm_test/test_toml.f90 b/test/fpm_test/test_toml.f90
index ba48307..1ffea1d 100644
--- a/test/fpm_test/test_toml.f90
+++ b/test/fpm_test/test_toml.f90
@@ -41,13 +41,13 @@ contains
& '[dependencies.fpm]', &
& 'git = "https://github.com/fortran-lang/fpm"', &
& '[[executable]]', &
- & 'name = "example-#1" # comment', &
+ & 'name = "example-1" # comment', &
& 'source-dir = "prog"', &
& '[dependencies]', &
& 'toml-f.git = "git@github.com:toml-f/toml-f.git"', &
& '"toml..f" = { path = ".." }', &
& '[["executable"]]', &
- & 'name = "example-#2"', &
+ & 'name = "example-2"', &
& 'source-dir = "prog"', &
& '[executable.dependencies]', &
& '[''library'']', &