aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-09-05 09:14:31 +0200
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2020-09-05 09:14:31 +0200
commit89813e843ccde573bad9c7231ecbd7623c5f1a7b (patch)
tree375197954a6a647e77e336eea5065a40d277f23c
parent10b9ca3746292a1e2f1e40c3af86dd8d04d1bcea (diff)
downloadfpm-89813e843ccde573bad9c7231ecbd7623c5f1a7b.tar.gz
fpm-89813e843ccde573bad9c7231ecbd7623c5f1a7b.zip
Pin commit of toml-f
-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)