diff options
| author | Shulhan <ms@kilabit.info> | 2022-08-03 22:27:33 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-08-03 22:27:33 +0700 |
| commit | ec98ea095fa85b5a4b64bd7ad37414c30d14310e (patch) | |
| tree | a0d0af0ad27852b1644972ee2b11e870ea5acc03 /lib/strings/testdata/split_test.txt | |
| parent | 39d9c20c35a11c44cdd27783e407c1225027d820 (diff) | |
| download | pakakeh.go-ec98ea095fa85b5a4b64bd7ad37414c30d14310e.tar.xz | |
lib/strings: clean up test codes
Changes,
* Use test.Data for test that require longer text input and output
* Replace variable declaration ":=" with explicit one.
* Use literal string
Diffstat (limited to 'lib/strings/testdata/split_test.txt')
| -rw-r--r-- | lib/strings/testdata/split_test.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/strings/testdata/split_test.txt b/lib/strings/testdata/split_test.txt new file mode 100644 index 00000000..630738be --- /dev/null +++ b/lib/strings/testdata/split_test.txt @@ -0,0 +1,23 @@ +Test Split with clean and unique parameters. + +>>> Single-line +// Copyright 2016-2018 Shulhan <ms@kilabit.info>. All rights reserved. + +<<< Single-line +Copyright 2016-2018 Shulhan ms@kilabit.info All rights reserved + +>>> Multi-line +The [[United States]] has regularly voted alone and +against international consensus, using its [[United Nations +Security Council veto power|veto power]] to block the adoption +of proposed UN Security Council resolutions supporting the +[[PLO]] and calling for a two-state solution to the +[[Israeli-Palestinian conflict]]. + +<<< Multi-line +The United States has regularly voted alone and +against international consensus using its Nations +Security Council veto power|veto power to block adoption +of proposed UN resolutions supporting +PLO calling for a two-state solution +Israeli-Palestinian conflict |
