From 89813e843ccde573bad9c7231ecbd7623c5f1a7b Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Sat, 5 Sep 2020 09:14:31 +0200 Subject: Pin commit of toml-f --- fpm/fpm.toml | 4 +++- fpm/test/test_manifest.f90 | 2 -- fpm/test/test_toml.f90 | 4 ---- 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) -- cgit v1.2.3