summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-09-07 10:59:51 -0400
committerGitHub <noreply@github.com>2023-09-07 10:59:51 -0400
commit7adc38b8957d3d36c71450f44ee5adfd8b2bfff9 (patch)
tree4461273cf95dc835802923348dcb608b9f396995 /test
parent630e49010cd91e97ce49d315b00d4ece193ebe82 (diff)
[YARP] Miscellaneous small bug fixes (#8387)
Notes
Notes: Merged-By: jemmaissroff
Diffstat (limited to 'test')
-rw-r--r--test/yarp/compiler_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/yarp/compiler_test.rb b/test/yarp/compiler_test.rb
index d1cd7e3305..4f81138037 100644
--- a/test/yarp/compiler_test.rb
+++ b/test/yarp/compiler_test.rb
@@ -2,6 +2,10 @@
module YARP
class CompilerTest < Test::Unit::TestCase
+ def test_empty_program
+ assert_nil compile("")
+ end
+
############################################################################
# Literals #
############################################################################