aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-07-25 01:47:50 -0700
committerJosh Haberman <jhaberman@gmail.com>2016-07-25 11:09:23 -0700
commit4f19797baf1c874c3aa03202908178ec66d7b45c (patch)
tree7575437da2c68f8b89aa0e47883e5c0674f59b3e /src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc
parent06220303323f3cce425706540defcd7a29d42ec2 (diff)
downloadprotobuf-4f19797baf1c874c3aa03202908178ec66d7b45c.tar.gz
protobuf-4f19797baf1c874c3aa03202908178ec66d7b45c.tar.bz2
protobuf-4f19797baf1c874c3aa03202908178ec66d7b45c.zip
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
Diffstat (limited to 'src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc')
-rw-r--r--src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc b/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc
index c0acb407..1aabe8aa 100644
--- a/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc
+++ b/src/google/protobuf/compiler/ruby/ruby_generator_unittest.cc
@@ -91,12 +91,12 @@ TEST(RubyGeneratorTest, GeneratorTest) {
// Load the generated output and compare to the expected result.
string output;
GOOGLE_CHECK_OK(File::GetContents(
- TestTempDir() + "/ruby_generated_code.rb",
+ TestTempDir() + "/ruby_generated_code_pb.rb",
&output,
true));
string expected_output;
GOOGLE_CHECK_OK(File::GetContents(
- ruby_tests + "/ruby_generated_code.rb",
+ ruby_tests + "/ruby_generated_code_pb.rb",
&expected_output,
true));
EXPECT_EQ(expected_output, output);