mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-26 04:52:08 +00:00
Add more test coverage for RGBASM (#1256)
This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
9
test/asm/crlf.asm
Normal file
9
test/asm/crlf.asm
Normal file
@@ -0,0 +1,9 @@
|
||||
; This file is encoded with DOS CR+LF line endings!
|
||||
|
||||
DEF s EQUS "Hello, \
|
||||
world!"
|
||||
assert !strcmp("{s}", "Hello, world!")
|
||||
|
||||
DEF t EQUS """Hello,
|
||||
world!"""
|
||||
assert !strcmp("{t}", "Hello,\nworld!")
|
||||
Reference in New Issue
Block a user