aboutsummaryrefslogtreecommitdiff
path: root/tests/test_normalized_component.py
diff options
context:
space:
mode:
authorMarco Poletti <poletti.marco@gmail.com>2017-08-05 18:38:03 +0100
committerMarco Poletti <poletti.marco@gmail.com>2017-08-05 18:38:03 +0100
commit6e774e6318158986657ce56c9fd3a1db2370d91b (patch)
tree8d8d0fea4d2370f135d052e3fd63ed4562ed5002 /tests/test_normalized_component.py
parentdde9554bd7684dfe5e56466b4376f8a6b7f1568c (diff)
downloadgoogle-fruit-6e774e6318158986657ce56c9fd3a1db2370d91b.tar.gz
Fix the expected error regexes to accomodate MSVC-style errors.
Diffstat (limited to 'tests/test_normalized_component.py')
-rwxr-xr-xtests/test_normalized_component.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_normalized_component.py b/tests/test_normalized_component.py
index e40f51b..4d0025d 100755
--- a/tests/test_normalized_component.py
+++ b/tests/test_normalized_component.py
@@ -174,7 +174,7 @@ def test_normalized_component_providing_nonconst_from_component_providing_const_
expect_generic_compile_error(
'no matching function for call to .fruit::NormalizedComponent<ConstXAnnot>::NormalizedComponent\(fruit::Component<XAnnot> \(&\)\(\)\).'
'|no matching constructor for initialization of .fruit::NormalizedComponent<ConstXAnnot>.'
- '|cannot convert argument 1 from .fruit::Component<XAnnot>. to .fruit::Component<ConstXAnnot>.',
+ '|.fruit::NormalizedComponent<ConstXAnnot>::NormalizedComponent.: none of the 2 overloads could convert all the argument types',
COMMON_DEFINITIONS,
source,
locals())