mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-21 01:47:28 -05:00
Small source_cache test
This commit is contained in:
20
test/integration/test_a_lib.rb
Normal file
20
test/integration/test_a_lib.rb
Normal file
@@ -0,0 +1,20 @@
|
||||
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
|
||||
Reference in New Issue
Block a user