diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2016-11-12 16:26:47 +0000 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2016-11-12 16:26:50 +0000 |
commit | 6317c2523d2eac933bc48c64fc39501541bc31e6 (patch) | |
tree | 472602ce71ced9c3fad284cd3318441fc4fa9da1 /tests/test_multibindings_bind_interface.py | |
parent | 83b1ad80cbdcbc94e5f8973520f42239090fe424 (diff) | |
download | google-fruit-6317c2523d2eac933bc48c64fc39501541bc31e6.tar.gz |
Always use 'struct Foo' instead of 'class Foo' in tests. Clang complains if these are mixed.
Diffstat (limited to 'tests/test_multibindings_bind_interface.py')
-rwxr-xr-x | tests/test_multibindings_bind_interface.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_multibindings_bind_interface.py b/tests/test_multibindings_bind_interface.py index e9c040e..2646ee8 100755 --- a/tests/test_multibindings_bind_interface.py +++ b/tests/test_multibindings_bind_interface.py @@ -65,8 +65,7 @@ def test_error_abstract_class(): 'NoBindingFoundForAbstractClassError<ScalerImpl>', 'No explicit binding was found for C, and C is an abstract class', COMMON_DEFINITIONS + ''' -class Scaler { -public: +struct Scaler { virtual double scale(double x) = 0; }; @@ -89,8 +88,7 @@ def test_error_abstract_class_clang(): 'CannotConstructAbstractClassError<ScalerImpl>', 'The specified class can.t be constructed because it.s an abstract class.', COMMON_DEFINITIONS + ''' -class Scaler { -public: +struct Scaler { virtual double scale(double x) = 0; }; |