Show More
@@ -2260,7 +2260,7 b' class TestResult(unittest._TextTestResul' | |||||
2260 | 'changes)' |
|
2260 | 'changes)' | |
2261 | ) |
|
2261 | ) | |
2262 | else: |
|
2262 | else: | |
2263 |
self.stream.write('Accept this change? [ |
|
2263 | self.stream.write('Accept this change? [y/N] ') | |
2264 | self.stream.flush() |
|
2264 | self.stream.flush() | |
2265 | answer = sys.stdin.readline().strip() |
|
2265 | answer = sys.stdin.readline().strip() | |
2266 | if answer.lower() in ('y', 'yes'): |
|
2266 | if answer.lower() in ('y', 'yes'): |
@@ -747,7 +747,7 b' Refuse the fix' | |||||
747 | This is a noop statement so that |
|
747 | This is a noop statement so that | |
748 | this test is still more bytes than success. |
|
748 | this test is still more bytes than success. | |
749 | pad pad pad pad............................................................ |
|
749 | pad pad pad pad............................................................ | |
750 |
Accept this change? [ |
|
750 | Accept this change? [y/N] | |
751 | ERROR: test-failure.t output changed |
|
751 | ERROR: test-failure.t output changed | |
752 | !. |
|
752 | !. | |
753 | Failed test-failure.t: output changed |
|
753 | Failed test-failure.t: output changed | |
@@ -772,7 +772,7 b' Interactive with custom view' | |||||
772 | $ echo 'n' | rt -i --view echo |
|
772 | $ echo 'n' | rt -i --view echo | |
773 | running 2 tests using 1 parallel processes |
|
773 | running 2 tests using 1 parallel processes | |
774 | $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err |
|
774 | $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err | |
775 |
Accept this change? [ |
|
775 | Accept this change? [y/N]* (glob) | |
776 | ERROR: test-failure.t output changed |
|
776 | ERROR: test-failure.t output changed | |
777 | !. |
|
777 | !. | |
778 | Failed test-failure.t: output changed |
|
778 | Failed test-failure.t: output changed | |
@@ -823,7 +823,7 b' Accept the fix' | |||||
823 | + saved backup bundle to $TESTTMP/foo.hg |
|
823 | + saved backup bundle to $TESTTMP/foo.hg | |
824 | $ echo 'saved backup bundle to $TESTTMP/foo.hg' |
|
824 | $ echo 'saved backup bundle to $TESTTMP/foo.hg' | |
825 | saved backup bundle to $TESTTMP/*.hg (glob) |
|
825 | saved backup bundle to $TESTTMP/*.hg (glob) | |
826 |
Accept this change? [ |
|
826 | Accept this change? [y/N] .. | |
827 | # Ran 2 tests, 0 skipped, 0 failed. |
|
827 | # Ran 2 tests, 0 skipped, 0 failed. | |
828 |
|
828 | |||
829 | $ sed -e 's,(glob)$,&<,g' test-failure.t |
|
829 | $ sed -e 's,(glob)$,&<,g' test-failure.t | |
@@ -900,7 +900,7 b' When "#testcases" is used in .t files' | |||||
900 | #endif |
|
900 | #endif | |
901 | #if b |
|
901 | #if b | |
902 | $ echo 2 |
|
902 | $ echo 2 | |
903 |
Accept this change? [ |
|
903 | Accept this change? [y/N] . | |
904 | --- $TESTTMP/test-cases.t |
|
904 | --- $TESTTMP/test-cases.t | |
905 | +++ $TESTTMP/test-cases.t#b.err |
|
905 | +++ $TESTTMP/test-cases.t#b.err | |
906 | @@ -5,4 +5,5 @@ |
|
906 | @@ -5,4 +5,5 @@ | |
@@ -909,7 +909,7 b' When "#testcases" is used in .t files' | |||||
909 | $ echo 2 |
|
909 | $ echo 2 | |
910 | + 2 |
|
910 | + 2 | |
911 | #endif |
|
911 | #endif | |
912 |
Accept this change? [ |
|
912 | Accept this change? [y/N] . | |
913 | # Ran 2 tests, 0 skipped, 0 failed. |
|
913 | # Ran 2 tests, 0 skipped, 0 failed. | |
914 |
|
914 | |||
915 | $ cat test-cases.t |
|
915 | $ cat test-cases.t | |
@@ -1285,7 +1285,7 b' Test that failed test accepted through i' | |||||
1285 | This is a noop statement so that |
|
1285 | This is a noop statement so that | |
1286 | this test is still more bytes than success. |
|
1286 | this test is still more bytes than success. | |
1287 | pad pad pad pad............................................................ |
|
1287 | pad pad pad pad............................................................ | |
1288 |
Accept this change? [ |
|
1288 | Accept this change? [y/N] ..s | |
1289 | Skipped test-skip.t: missing feature: nail clipper |
|
1289 | Skipped test-skip.t: missing feature: nail clipper | |
1290 | # Ran 2 tests, 1 skipped, 0 failed. |
|
1290 | # Ran 2 tests, 1 skipped, 0 failed. | |
1291 |
|
1291 |
General Comments 0
You need to be logged in to leave comments.
Login now