Sha256: 76396791442c7c0106bb0c997a3dd44dad61d115b5c8a0d269fd94d1dc471761
Contents?: true
Size: 345 Bytes
Versions: 536
Compression:
Stored size: 345 Bytes
Contents
#!/bin/bash -e source test/test.bash PATH=$PWD/bin:$PATH source bash+ foo() { echo O HAI } like "$(type bar 2>&1)" 'bar: not found' \ 'bar is not yet a function' bash+:fcopy foo bar type -t bar &>/dev/null ok $? 'bar is now a function' is "$(type foo | tail -n+3)" "$(type bar | tail -n+3)" \ 'Copy matches original' done_testing 3
Version data entries
536 entries across 268 versions & 4 rubygems