1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# tabify.test: tests for the tabify sub-package of the textutil package.
# -*- tcl -*-
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No output means no errors were found.
#
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
namespace import ::tcltest::*
}
if { [ lsearch [ namespace children ] "::textutil" ] == -1 } then {
source [file join [file dirname [info script]] textutil.tcl]
}
###################################################
|
<
>
>
>
|
>
>
>
|
>
|
|
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# -*- tcl -*-
# tabify.test: tests for the tabify sub-package of the textutil package.
#
# This file contains a collection of tests for one or more of the Tcl
# built-in commands. Sourcing this file into Tcl runs the tests and
# generates output for errors. No output means no errors were found.
#
# -------------------------------------------------------------------------
source [file join \
[file dirname [file dirname [file join [pwd] [info script]]]] \
devtools testutilities.tcl]
testsNeedTcl 8.2
testsNeedTcltest 1.0
# -------------------------------------------------------------------------
if { [ lsearch [ namespace children ] "::textutil" ] == -1 } then {
source [file join [file dirname [info script]] textutil.tcl]
}
###################################################
|