mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-22 04:07:49 -05:00
21 lines
295 B
Ruby
21 lines
295 B
Ruby
|
|
require_relative './lib'
|
||
|
|
|
||
|
|
# Tests and experiments with the integration test framework itself
|
||
|
|
|
||
|
|
class ALib < IntegrationTest
|
||
|
|
def test_zza
|
||
|
|
f = -> {
|
||
|
|
assert_equal 2, 2
|
||
|
|
}
|
||
|
|
f.()
|
||
|
|
end
|
||
|
|
|
||
|
|
def test_b
|
||
|
|
test_foo('xxx')
|
||
|
|
end
|
||
|
|
|
||
|
|
def test_foo(xxx)
|
||
|
|
assert_equal 'xxx', xxx
|
||
|
|
end
|
||
|
|
end
|