mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-20 08:19:28 +00:00
Estimated hours taken: 0.1 tests/hard_coded/Mmakefile: tests/hard_coded/string_suffix_bug.exp: tests/hard_coded/string_suffix_bug.m: Add a test case which I forgot to add with a previous change.
17 lines
281 B
Mathematica
17 lines
281 B
Mathematica
:- module string_suffix_bug.
|
|
:- interface.
|
|
:- import_module io.
|
|
|
|
:- pred main(io::di, io::uo) is det.
|
|
|
|
:- implementation.
|
|
|
|
:- import_module string.
|
|
|
|
main -->
|
|
( { string__suffix("testing string__suffix", "suffix") } ->
|
|
io__write_string("yes\n")
|
|
;
|
|
io__write_string("no\n")
|
|
).
|