Sha256: 942515974d10fd48772d34a1d9f21663cf7332ecd59eab9a7abf68635f68eacd

Contents?: true

Size: 450 Bytes

Versions: 536

Compression:

Stored size: 450 Bytes

Contents

#!/bin/bash -e

source test/test.bash

PATH=$PWD/bin:$PATH
source bash+ :std can

BASHLIB=test/lib

use Foo::Bar
ok $?                         'use Foo::Bar - works'
ok "`can Foo::Bar:baz`"       'Function Foo::Bar:baz exists'
is "$Foo__Bar_VERSION" 1.2.3  '$Foo__Bar_VERSION == 1.2.3'

output=`use Foo::Foo Boo Booo`
ok $?                         'use Foo::Foo Boo Booo - works'
is "$output" Boo---Booo       'Correct import called'

done_testing 5

Version data entries

536 entries across 268 versions & 4 rubygems

Version Path
eac_tools-0.68.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.68.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.67.1 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.67.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.67.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.67.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.66.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.66.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.65.1 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.65.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.65.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.65.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.64.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.64.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.63.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.63.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.62.1 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.62.1 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t
eac_tools-0.62.0 sub/eac_git/vendor/git-subrepo/ext/bashplus/test/use.t
eac_tools-0.62.0 sub/eac_git/vendor/git-subrepo/ext/test-more-bash/ext/bashplus/test/use.t