Skip to content

Commit 305621a

Browse files
fix windows bot
Created using spr 1.3.5
1 parent b6ad541 commit 305621a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/unittests/Support/raw_ostream_proxy_test.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,16 +182,14 @@ TEST(raw_ostream_proxyTest, ColorMode) {
182182
{
183183
SmallString<128> Dest;
184184
BufferedNoPwriteSmallVectorStream DestOS(Dest);
185-
DestOS.IsDisplayed = true;
186185
raw_ostream_proxy ProxyOS(DestOS);
187-
ProxyOS.enable_colors(true);
188186

189187
WithColor(ProxyOS, raw_ostream::Colors::RED, /*Bold=*/true, /*BG=*/false,
190188
ColorMode::Auto)
191189
<< "test";
192190
EXPECT_EQ("", Dest);
193191
ProxyOS.flush();
194-
EXPECT_EQ("\x1B[0;1;31mtest\x1B[0m", Dest);
192+
EXPECT_EQ("test", Dest);
195193
}
196194

197195
#ifdef LLVM_ON_UNIX

0 commit comments

Comments
 (0)