aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/codes_from_doc.lua
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2024-10-19 00:35:11 +0800
committerLi Jin <dragon-fly@qq.com>2024-10-19 00:35:11 +0800
commit1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0 (patch)
tree8bd3fbeb396fd2fce6e5b34c3ee10f4923feca72 /spec/outputs/codes_from_doc.lua
parent05da3cbfa3689e6c229c41156d0dd08ab554cd77 (diff)
downloadyuescript-1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0.tar.gz
yuescript-1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0.tar.bz2
yuescript-1334c0ae67fdf4cb1377e0e7a3ef291f5cf694c0.zip
Fixed issue #174.
Diffstat (limited to 'spec/outputs/codes_from_doc.lua')
-rw-r--r--spec/outputs/codes_from_doc.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/outputs/codes_from_doc.lua b/spec/outputs/codes_from_doc.lua
index 4073056..e2bba8e 100644
--- a/spec/outputs/codes_from_doc.lua
+++ b/spec/outputs/codes_from_doc.lua
@@ -585,6 +585,14 @@ do
585 end 585 end
586end 586end
587print("OK") 587print("OK")
588repeat
589 local byte = stream:read_one()
590 if byte then
591 print(byte)
592 else
593 break
594 end
595until false
588local list = { 596local list = {
589 1, 597 1,
590 2, 598 2,
@@ -2583,6 +2591,14 @@ do
2583 end 2591 end
2584end 2592end
2585print("OK") 2593print("OK")
2594repeat
2595 local byte = stream:read_one()
2596 if byte then
2597 print(byte)
2598 else
2599 break
2600 end
2601until false
2586local list = { 2602local list = {
2587 1, 2603 1,
2588 2, 2604 2,