diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2017-06-18 15:21:48 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2017-06-18 15:21:48 +0100 |
commit | 464ec216a66425d24903a79337493c8716d37845 (patch) | |
tree | a1667d382f47e60b2afea3fc309465995d5eb977 /tests/test_install.py | |
parent | 5d4dc483de46b8b161dd99b60f03f3e87cdae482 (diff) | |
download | google-fruit-464ec216a66425d24903a79337493c8716d37845.tar.gz |
Allow MSVC's type format in test_install_component_functions_loop.
Diffstat (limited to 'tests/test_install.py')
-rwxr-xr-x | tests/test_install.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_install.py b/tests/test_install.py index be4de82..483aaa6 100755 --- a/tests/test_install.py +++ b/tests/test_install.py @@ -612,17 +612,17 @@ def test_install_component_functions_loop(): } int main() { - fruit::Injector<> injector(getXComponent()); + fruit::Injector<X> injector(getXComponent()); (void)injector; } ''' expect_runtime_error( 'Component installation trace \(from top-level to the most deeply-nested\):\n' - + 'fruit::Component<> ?\(\*\)\(\)\n' + + 'fruit::Component<(struct )?X> ?\((__cdecl)?\*\)\(\)\n' + '<-- The loop starts here\n' - + 'fruit::Component<Y> ?\(\*\)\(\)\n' - + 'fruit::Component<Z> ?\(\*\)\(\)\n' - + 'fruit::Component<Y> ?\(\*\)\(\)\n', + + 'fruit::Component<(struct )?Y> ?\((__cdecl)?\*\)\(\)\n' + + 'fruit::Component<(struct )?Z> ?\((__cdecl)?\*\)\(\)\n' + + 'fruit::Component<(struct )?Y> ?\((__cdecl)?\*\)\(\)\n', COMMON_DEFINITIONS, source, locals()) |