aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuliano Procida <gprocida@google.com>2023-11-21 15:19:50 +0000
committerGiuliano Procida <gprocida@google.com>2023-12-13 11:19:32 +0000
commitc88b09ef62f60acc0e77664332a3393d93989149 (patch)
tree2ce908ef6e7feca06c1f599822a3930b1adfd7a2
parent4fca458ffde900010a652899a14ef39df54f3e70 (diff)
downloadstg-c88b09ef62f60acc0e77664332a3393d93989149.tar.gz
stg filter test: remove stray output string streams
PiperOrigin-RevId: 584318207 Change-Id: I57c0047017837ac73e16c091f0118b96afa1d693
-rw-r--r--filter_test.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/filter_test.cc b/filter_test.cc
index 7666965..2be2bcc 100644
--- a/filter_test.cc
+++ b/filter_test.cc
@@ -19,7 +19,6 @@
#include "filter.h"
-#include <sstream>
#include <string>
#include <tuple>
#include <vector>
@@ -52,7 +51,6 @@ TEST_CASE("bad syntax cases") {
};
for (const auto& expression : cases) {
- std::ostringstream os;
GIVEN("filter: " + expression) {
CHECK_THROWS(stg::MakeFilter(expression));
}
@@ -104,7 +102,6 @@ TEST_CASE("hand-curated cases") {
};
for (const auto& [expression, ins, outs] : cases) {
- std::ostringstream os;
GIVEN("filter: " + expression) {
auto filter = stg::MakeFilter(expression);
for (const auto& in : ins) {