From 36c7526d60319289954bb0b49e9f4cb2c6dfe9da Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 4 Nov 2024 00:59:01 +0300 Subject: monkey-test.apl: avoid some bogus failures due to insufficient handling of the pclose() return value --- tests/monkey-parse.apl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/monkey-parse.apl') diff --git a/tests/monkey-parse.apl b/tests/monkey-parse.apl index 9273962..3984d44 100755 --- a/tests/monkey-parse.apl +++ b/tests/monkey-parse.apl @@ -2,7 +2,7 @@ ⍝ Calculate frequency distribution of the characters/glyphs in a given number of input files. ⍝ This will be the input for monkey-test.apl. Files ← 4↓⎕ARG -Data ← 19 ⎕CR ∊⎕FIO['read_file']¨Files +Data ← 19 ⎕CR ∊⎕FIO.read_file¨Files ∇ Dist←GetDist Data; i; C ⍝Dist ← 38 ⌷CR ↑⍴Data ⍝ associative array -- cgit v1.2.3