Skip to content

Commit 6a6900c

Browse files
authored
Revert last change using unformatted, but this time use the DT descriptor
1 parent 5d0024b commit 6a6900c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/example/strings/example_padr.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
program example_padr
2-
use stdlib_string_type, only: string_type, assignment(=), write (unformatted)
2+
use stdlib_string_type, only: string_type, assignment(=), write (formatted)
33
use stdlib_strings, only: padr
44
implicit none
55
type(string_type) :: string
66

77
string = "right pad this string"
88
! string <-- "right pad this string"
99

10-
print*, padr(string, 25, "$") ! "right pad this string$$$$"
10+
print '(DT)', padr(string, 25, "$") ! "right pad this string$$$$"
1111

1212
string = padr(string, 25)
1313
! string <-- "right pad this string "

0 commit comments

Comments
 (0)