diff options
| author | Shulhan <ms@kilabit.info> | 2025-10-03 00:15:29 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-10-03 00:15:29 +0700 |
| commit | 1003a18b85cffac4b9a92ee787fd8a9bdfca072d (patch) | |
| tree | 2090d7c2b84dbd4cc39956145af3c070ba98f7ee /awwan_play_test.go | |
| parent | 276096698be34a7c629b3fe7bfd79c48e1c24921 (diff) | |
| download | awwan-1003a18b85cffac4b9a92ee787fd8a9bdfca072d.tar.xz | |
all: add option "$noparse" for magic "#put" command
The "$noparse" option allow copying file without reading and parsing
the input file.
Diffstat (limited to 'awwan_play_test.go')
| -rw-r--r-- | awwan_play_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/awwan_play_test.go b/awwan_play_test.go index 44a9ba1..00d407d 100644 --- a/awwan_play_test.go +++ b/awwan_play_test.go @@ -221,6 +221,12 @@ func TestAwwan_Play_Put(t *testing.T) { expContent: string(tdata.Output[`plain.txt`]), expMode: 0666, expError: string(tdata.Output[`WithOwner:error`]), + }, { + desc: `With $noparse`, + lineRange: `20`, + fileDest: `/home/awwanssh/put_noparse.txt`, + expContent: string(tdata.Output[`plain_noparse.txt`]), + expMode: 0666, }} var ( |
