diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/command/auto-require.lua | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/test/command/auto-require.lua b/test/command/auto-require.lua index a52662fb..c2c0935f 100644 --- a/test/command/auto-require.lua +++ b/test/command/auto-require.lua @@ -40,4 +40,34 @@ local aaaaaa = require 'aaa' text = 'local test = require \'test\'\n' } +TEST [[ +local DEBUG = true +local aaaaaa = require 'aaa' +]] 'test' { + start = 20000, + finish = 20000, + text = 'local test = require \'test\'\n' +} + +TEST [[ +-- comment +-- comment +local aaaaaa = require 'aaa' +]] 'test' { + start = 30000, + finish = 30000, + text = 'local test = require \'test\'\n' +} + +TEST [[ +--[=[ +comment chunk +]=] +local aaaaaa = require 'aaa' +]] 'test' { + start = 40000, + finish = 40000, + text = 'local test = require \'test\'\n' +} + client.editText = originEditText |