libstdc++: Fix narrow char test to use stringbuf not wstringbuf
authorJonathan Wakely <jwakely@redhat.com>
Mon, 18 Jan 2021 12:44:27 +0000 (12:44 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 18 Jan 2021 12:45:10 +0000 (12:45 +0000)
This seems to be a copy & paste error.

libstdc++-v3/ChangeLog:

* testsuite/27_io/basic_stringstream/cons/char/1.cc: Use
stringbuf not wstringbuf.

libstdc++-v3/testsuite/27_io/basic_stringstream/cons/char/1.cc

index 31130ee5c9500c401bca1693200a1799819a6782..7cb9f34ca046631eb0e20e7a4454b4ae179c96b1 100644 (file)
@@ -107,7 +107,7 @@ test04()
   sstream ss3(std::string(str), std::ios::out, a);
   VERIFY( ss3.str() == cstr );
   VERIFY( bool(ss3 << 1) );
-  VERIFY( ss3.get() == std::wstringbuf::traits_type::eof() );
+  VERIFY( ss3.get() == std::stringbuf::traits_type::eof() );
 }
 
 int