3267
This commit is contained in:
parent
cd9bb850ca
commit
48153630c5
|
@ -149,8 +149,6 @@ struct trace_stream {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
trace_stream* Trace_stream = NULL;
|
||||
int Trace_errors = 0; // used only when Trace_stream is NULL
|
||||
|
||||
|
@ -259,8 +257,6 @@ bool line_exists_anywhere(const string& label, const string& contents) {
|
|||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int trace_count(string label) {
|
||||
return trace_count(label, "");
|
||||
}
|
||||
|
@ -320,8 +316,6 @@ bool trace_doesnt_contain(string expected) {
|
|||
|
||||
#define CHECK_TRACE_DOESNT_CONTAIN(...) CHECK(trace_doesnt_contain(__VA_ARGS__))
|
||||
|
||||
|
||||
|
||||
vector<string> split(string s, string delim) {
|
||||
vector<string> result;
|
||||
size_t begin=0, end=s.find(delim);
|
||||
|
|
|
@ -71,8 +71,6 @@ void test_trace_count_ignores_trailing_whitespace() {
|
|||
// pending: raise prints to stderr if Trace_stream is NULL even if Hide_errors is set.
|
||||
// pending: raise << ... die() doesn't die if Hide_errors is set.
|
||||
|
||||
|
||||
|
||||
// can't check trace because trace methods call 'split'
|
||||
|
||||
void test_split_returns_at_least_one_elem() {
|
||||
|
|
Loading…
Reference in New Issue