Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b2acf04e4a
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (11 sloc) 0.31 kB
#! /usr/bin/lua
require 'Test.More'
plan(3)
function os.exit (code)
error( "os.exit(" .. tostring(code) .. ")" )
end
local tb = require 'Test.Builder.NoOutput':create()
error_like(tb.skip_all, { tb },
'^[^:]+:%d+: os.exit%(0%)')
is( tb:read'out', "1..0 # SKIP\n" )
is( tb:read'err', '' )
Jump to Line
Something went wrong with that request. Please try again.