[pkg-d-commits] [ldc] 156/211: Fix test that fails upon unfortunate git hashes.
Matthias Klumpp
mak at moszumanska.debian.org
Sun Apr 23 22:36:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to annotated tag v1.1.0
in repository ldc.
commit 72e0684b672bd9141c9cff8ef20ae9488693b9fa
Author: Johan Engelen <jbc.engelen at gmail.com>
Date: Thu Nov 24 23:04:35 2016 +0100
Fix test that fails upon unfortunate git hashes.
---
tests/codegen/inlining_imports.d | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/codegen/inlining_imports.d b/tests/codegen/inlining_imports.d
index a233d73..74bd8f1 100644
--- a/tests/codegen/inlining_imports.d
+++ b/tests/codegen/inlining_imports.d
@@ -41,4 +41,6 @@ int call_weak_function()
// OPT3: call
return weak_function();
// OPT3-NOT: 654
+ // Test for function end `}` to prevent matching "654" elsewhere (e.g. the LDC version git hash)
+ // OPT3: }
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git
More information about the pkg-d-commits
mailing list