aboutsummaryrefslogtreecommitdiff
path: root/tests/test_install.py
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2017-06-18 15:21:48 +0100
committerMarco Poletti <poletti.marco@gmail.com>2017-06-18 15:21:48 +0100
commit464ec216a66425d24903a79337493c8716d37845 (patch)
treea1667d382f47e60b2afea3fc309465995d5eb977 /tests/test_install.py
parent5d4dc483de46b8b161dd99b60f03f3e87cdae482 (diff)
downloadgoogle-fruit-464ec216a66425d24903a79337493c8716d37845.tar.gz
Allow MSVC's type format in test_install_component_functions_loop.
Diffstat (limited to 'tests/test_install.py')
-rwxr-xr-xtests/test_install.py10
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())