aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/fpm.toml4
-rw-r--r--fpm/test/test_manifest.f902
-rw-r--r--fpm/test/test_toml.f904
3 files changed, 3 insertions, 7 deletions
diff --git a/fpm/fpm.toml b/fpm/fpm.toml
index 9a0009f..b39d881 100644
--- a/fpm/fpm.toml
+++ b/fpm/fpm.toml
@@ -6,7 +6,9 @@ maintainer = ""
copyright = "2020 fpm contributors"
[dependencies]
-toml-f = { git = "https://github.com/toml-f/toml-f" }
+[dependencies.toml-f]
+git = "https://github.com/toml-f/toml-f"
+rev = "290ba87671ab593e7bd51599e1d80ea736b3cd36"
[[test]]
name = "fpm-test"
diff --git a/fpm/test/test_manifest.f90 b/fpm/test/test_manifest.f90
index 117ea3a..7ad5e5a 100644
--- a/fpm/test/test_manifest.f90
+++ b/fpm/test/test_manifest.f90
@@ -40,7 +40,6 @@ contains
type(package_t) :: package
character(len=*), parameter :: manifest = 'fpm-valid-manifest.toml'
- character(len=:), allocatable :: string
integer :: unit
open(file=manifest, newunit=unit)
@@ -116,7 +115,6 @@ contains
type(package_t) :: package
character(len=*), parameter :: manifest = 'fpm-invalid-manifest.toml'
- character(len=:), allocatable :: string
integer :: unit
open(file=manifest, newunit=unit)
diff --git a/fpm/test/test_toml.f90 b/fpm/test/test_toml.f90
index 0a5abd6..ba48307 100644
--- a/fpm/test/test_toml.f90
+++ b/fpm/test/test_toml.f90
@@ -33,7 +33,6 @@ contains
type(toml_table), allocatable :: table
character(len=*), parameter :: manifest = 'fpm-valid-toml.toml'
- character(len=:), allocatable :: string
integer :: unit
open(file=manifest, newunit=unit)
@@ -72,7 +71,6 @@ contains
type(toml_table), allocatable :: table
character(len=*), parameter :: manifest = 'fpm-invalid-toml.toml'
- character(len=:), allocatable :: string
integer :: unit
open(file=manifest, newunit=unit)
@@ -100,8 +98,6 @@ contains
type(error_t), allocatable, intent(out) :: error
type(toml_table), allocatable :: table
- character(len=:), allocatable :: string
- integer :: unit
call read_package_file(table, 'low+chance+of+existing.toml', error)