This commit is contained in:
Kartik K. Agaram 2016-08-28 14:22:22 -07:00
parent cd9bb850ca
commit 48153630c5
3 changed files with 0 additions and 10 deletions

View File

@ -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);

View File

@ -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() {

View File

@ -247,8 +247,6 @@ void restore_snapshots() {
// End restore_snapshots
}
//:: Helpers
:(code)