Fossil SCM

Merge updates from trunk.

mistachkin 2014-06-10 05:02 UTC th1Hooks merge
Commit 0465fecca355b6647c76bb8303ee59d0562ecd87
+2 -2
--- test/tester.tcl
+++ test/tester.tcl
@@ -96,11 +96,11 @@
9696
set CODE $rc
9797
if {$rc} {puts "ERROR: $result"}
9898
set RESULT $result
9999
}
100100
101
-# Read a file into memory.
101
+# Read a file into memory.
102102
#
103103
proc read_file {filename} {
104104
set in [open $filename r]
105105
fconfigure $in -translation binary
106106
set txt [read $in [file size $filename]]
@@ -173,11 +173,11 @@
173173
test $name 1
174174
} else {
175175
protOut " Expected:\n [join $expected "\n "]"
176176
protOut " Got:\n [join $result "\n "]"
177177
test $name 0
178
- }
178
+ }
179179
}
180180
181181
# Append all arguments into a single value and then returns it.
182182
#
183183
proc appendArgs {args} {
184184
--- test/tester.tcl
+++ test/tester.tcl
@@ -96,11 +96,11 @@
96 set CODE $rc
97 if {$rc} {puts "ERROR: $result"}
98 set RESULT $result
99 }
100
101 # Read a file into memory.
102 #
103 proc read_file {filename} {
104 set in [open $filename r]
105 fconfigure $in -translation binary
106 set txt [read $in [file size $filename]]
@@ -173,11 +173,11 @@
173 test $name 1
174 } else {
175 protOut " Expected:\n [join $expected "\n "]"
176 protOut " Got:\n [join $result "\n "]"
177 test $name 0
178 }
179 }
180
181 # Append all arguments into a single value and then returns it.
182 #
183 proc appendArgs {args} {
184
--- test/tester.tcl
+++ test/tester.tcl
@@ -96,11 +96,11 @@
96 set CODE $rc
97 if {$rc} {puts "ERROR: $result"}
98 set RESULT $result
99 }
100
101 # Read a file into memory.
102 #
103 proc read_file {filename} {
104 set in [open $filename r]
105 fconfigure $in -translation binary
106 set txt [read $in [file size $filename]]
@@ -173,11 +173,11 @@
173 test $name 1
174 } else {
175 protOut " Expected:\n [join $expected "\n "]"
176 protOut " Got:\n [join $result "\n "]"
177 test $name 0
178 }
179 }
180
181 # Append all arguments into a single value and then returns it.
182 #
183 proc appendArgs {args} {
184
+2 -2
--- test/tester.tcl
+++ test/tester.tcl
@@ -96,11 +96,11 @@
9696
set CODE $rc
9797
if {$rc} {puts "ERROR: $result"}
9898
set RESULT $result
9999
}
100100
101
-# Read a file into memory.
101
+# Read a file into memory.
102102
#
103103
proc read_file {filename} {
104104
set in [open $filename r]
105105
fconfigure $in -translation binary
106106
set txt [read $in [file size $filename]]
@@ -173,11 +173,11 @@
173173
test $name 1
174174
} else {
175175
protOut " Expected:\n [join $expected "\n "]"
176176
protOut " Got:\n [join $result "\n "]"
177177
test $name 0
178
- }
178
+ }
179179
}
180180
181181
# Append all arguments into a single value and then returns it.
182182
#
183183
proc appendArgs {args} {
184184
--- test/tester.tcl
+++ test/tester.tcl
@@ -96,11 +96,11 @@
96 set CODE $rc
97 if {$rc} {puts "ERROR: $result"}
98 set RESULT $result
99 }
100
101 # Read a file into memory.
102 #
103 proc read_file {filename} {
104 set in [open $filename r]
105 fconfigure $in -translation binary
106 set txt [read $in [file size $filename]]
@@ -173,11 +173,11 @@
173 test $name 1
174 } else {
175 protOut " Expected:\n [join $expected "\n "]"
176 protOut " Got:\n [join $result "\n "]"
177 test $name 0
178 }
179 }
180
181 # Append all arguments into a single value and then returns it.
182 #
183 proc appendArgs {args} {
184
--- test/tester.tcl
+++ test/tester.tcl
@@ -96,11 +96,11 @@
96 set CODE $rc
97 if {$rc} {puts "ERROR: $result"}
98 set RESULT $result
99 }
100
101 # Read a file into memory.
102 #
103 proc read_file {filename} {
104 set in [open $filename r]
105 fconfigure $in -translation binary
106 set txt [read $in [file size $filename]]
@@ -173,11 +173,11 @@
173 test $name 1
174 } else {
175 protOut " Expected:\n [join $expected "\n "]"
176 protOut " Got:\n [join $result "\n "]"
177 test $name 0
178 }
179 }
180
181 # Append all arguments into a single value and then returns it.
182 #
183 proc appendArgs {args} {
184
--- test/th1.test
+++ test/th1.test
@@ -468,12 +468,9 @@
468468
###############################################################################
469469
470470
fossil test-th-eval "expr 0b1+5"
471471
test th1-expr-34 {$RESULT eq {6}}
472472
473
-
474473
###############################################################################
475474
476475
fossil test-th-eval "expr 0+0b"
477476
test th1-expr-35 {$RESULT eq {TH_ERROR: expected number, got: "0b"}}
478
-
479
-
480477
--- test/th1.test
+++ test/th1.test
@@ -468,12 +468,9 @@
468 ###############################################################################
469
470 fossil test-th-eval "expr 0b1+5"
471 test th1-expr-34 {$RESULT eq {6}}
472
473
474 ###############################################################################
475
476 fossil test-th-eval "expr 0+0b"
477 test th1-expr-35 {$RESULT eq {TH_ERROR: expected number, got: "0b"}}
478
479
480
--- test/th1.test
+++ test/th1.test
@@ -468,12 +468,9 @@
468 ###############################################################################
469
470 fossil test-th-eval "expr 0b1+5"
471 test th1-expr-34 {$RESULT eq {6}}
472
 
473 ###############################################################################
474
475 fossil test-th-eval "expr 0+0b"
476 test th1-expr-35 {$RESULT eq {TH_ERROR: expected number, got: "0b"}}
 
 
477

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button