File: cl_moonscript_error_messages.moon

package info (click to toggle)
lua-busted 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 820 kB
  • sloc: sh: 198; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
-- supporting testfile; belongs to 'cl_spec.lua'

describe 'Test moonscript errors show file and line for', ->
  it 'failures #fail', ->
    assert.is_equal true, false
    return

  it 'table errors #table', ->
    error {}
    return

  it 'nil errors #nil', ->
    error!
    return

  it 'string errors #string', ->
    error 'error message'
    return

  return

return