From 6d92233e726bb8ab8154229b7c9df74473eb06a1 Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Mon, 25 Jul 2016 00:29:47 -0700 Subject: Added unit test for PascalCasing package names in Ruby. --- ruby/tests/generated_code_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ruby/tests/generated_code_test.rb') diff --git a/ruby/tests/generated_code_test.rb b/ruby/tests/generated_code_test.rb index 26bafdd6..b92b0462 100644 --- a/ruby/tests/generated_code_test.rb +++ b/ruby/tests/generated_code_test.rb @@ -4,6 +4,7 @@ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) require 'generated_code_pb' +require 'test_import_pb' require 'test/unit' class GeneratedCodeTest < Test::Unit::TestCase @@ -13,5 +14,6 @@ class GeneratedCodeTest < Test::Unit::TestCase # successfully creates message definitions and classes, not to test every # aspect of the extension (basic.rb is for that). m = A::B::C::TestMessage.new() + m2 = FooBar::TestImportedMessage.new() end end -- cgit v1.2.3