Skip to content

Commit 1c73cfe

Browse files
committed
Fixed comments
1 parent 592454e commit 1c73cfe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tests/units/port-test.r3

+3-3
Original file line numberDiff line numberDiff line change
@@ -298,18 +298,18 @@ if system/platform = 'Windows [
298298
--assert "a^M^/^/" = to string! read write/binary %tmp "a^M^/^/"
299299
--assert ^M^/^/" = to string! read write/binary %tmp ^M^/^/"
300300
either system/platform = 'Windows [
301-
;; on Windows by default write converts LF to CRLF (if the input is string!)
301+
;; on Windows `write` converts LF to CRLF by default (if the input is string!)
302302
--assert #{0D0A} = read write %tmp next "a^/"
303303
--assert #{0D0A} = read write %tmp next ^/"
304-
;; when there is already CRLF, if does not write it like CRCRLF!
304+
;; when there is already CRLF, it does not write it like CRCRLF!
305305
--assert #{0D0A} = read write %tmp next "a^M^/"
306306
--assert #{0D0A} = read write %tmp next ^M^/"
307307
--assert #{0D0D0A} = read write %tmp next "a^M^M^/"
308308
--assert #{0D0D0A} = read write %tmp next ^M^M^/"
309309
--assert #{0D0A0D0A} = read write %tmp next "a^M^/^/"
310310
--assert #{0D0A0D0A} = read write %tmp next ^M^/^/"
311311
][
312-
;; on all other platforms it does no modifications!
312+
;; on all other platforms it doesn't modify!
313313
--assert #{0A} = read write %tmp next "a^/"
314314
--assert #{0A} = read write %tmp next ^/"
315315
--assert #{0D0A} = read write %tmp next "a^M^/"

0 commit comments

Comments
 (0)