Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rename unit test
  • Loading branch information
awvwgk committed Apr 10, 2021
commit d2979c1826271929bb46896d0fc2bcadf79ab177
2 changes: 1 addition & 1 deletion src/tests/string/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ ADDTEST(string_operator)
ADDTEST(string_intrinsic)
ADDTEST(string_derivedtype_io)
ADDTEST(string_functions)
ADDTEST(string_trim)
ADDTEST(string_strip_chomp)
2 changes: 1 addition & 1 deletion src/tests/string/Makefile.manual
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ PROGS_SRC = test_string_assignment.f90 \
test_string_functions.f90 \
test_string_intrinsic.f90 \
test_string_operator.f90 \
test_string_trim.f90
test_string_strip_chomp.f90


include ../Makefile.manual.test.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
! SPDX-Identifier: MIT
module test_trim
module test_strip_chomp
use stdlib_ascii, only : TAB, VT, NUL, LF, CR, FF
use stdlib_error, only : check
use stdlib_strings, only : strip, chomp
Expand Down Expand Up @@ -92,10 +92,10 @@ subroutine test_chomp_substring_string
call check(chomp(string_type("hellooooo"), substring=string_type("oo")) == "hello")
end subroutine test_chomp_substring_string

end module test_trim
end module test_strip_chomp

program tester
use test_trim
use test_strip_chomp
implicit none

call test_strip_char
Expand Down