From 864066c51e510b2291b12cdcc7eb30d4e4870d4b Mon Sep 17 00:00:00 2001 From: Andreas Hofer Date: Sun, 3 Apr 2016 19:51:48 +0200 Subject: [PATCH] added more control characters to test case --- spec/inspect_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/inspect_spec.lua b/spec/inspect_spec.lua index 9264033..f6456f5 100644 --- a/spec/inspect_spec.lua +++ b/spec/inspect_spec.lua @@ -39,8 +39,8 @@ describe( 'inspect', function() end) it('escapes zeroes and other control characters properly', function() - assert.equals('"I have \\0 zeroes \\0000 and other \\1 control \\0010 characters"', - inspect('I have \0 zeroes \0000 and other \1 control \0010 characters')) + assert.equals('"I have \\0 zeroes \\0000 and other \\1 control \\0010 characters \\6 \\17 \\0279 \\31"', + inspect('I have \0 zeroes \0000 and other \1 control \0010 characters \6 \17 \0279 \31')) end) it('backslashes its backslashes', function()