From e712b146ccfbca528e98ade5f9ed2f4880f10c5b Mon Sep 17 00:00:00 2001 From: Federico Perini Date: Sat, 1 Mar 2025 20:01:04 +0100 Subject: [PATCH] fix `get_line` in tests --- src/tutorial/dependencies/test/main.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tutorial/dependencies/test/main.f90 b/src/tutorial/dependencies/test/main.f90 index d369c2d0b..312f15294 100644 --- a/src/tutorial/dependencies/test/main.f90 +++ b/src/tutorial/dependencies/test/main.f90 @@ -1,6 +1,6 @@ module test_demo use demo, only : substitute - use stdlib_io, only : getline + use stdlib_io, only : get_line use testdrive, only : error_type, unittest_type, new_unittest, check implicit none private @@ -32,7 +32,7 @@ subroutine test_substitute(error) close(input) rewind(output) - call getline(output, line, stat) + call get_line(output, line, stat) close(output) call check(error, line, "This is a valid example")