From 08561b6fcd5db459e18f571100e13d1b98e2d88e Mon Sep 17 00:00:00 2001 From: Ian Young Date: Thu, 12 Oct 2017 08:35:07 +0100 Subject: [PATCH] Add another couple of white-space tests --- .../mda/dom/saml/shib/ScopeValidationStageLitmusTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java b/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java index 87add89..19de0dc 100644 --- a/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java +++ b/src/test/java/uk/org/iay/incommon/mda/dom/saml/shib/ScopeValidationStageLitmusTest.java @@ -140,6 +140,8 @@ public void litmusTests() throws Exception { bad("random.nonsense", "scope is not under a public suffix"); good("example.ac.uk"); bad("adm.aau.dk@aau.dk"); // incommon/inc-meta#58 + bad("example .org", "white space"); + bad("\nexample.org", "white space"); badRegexp("", "empty"); badRegexp(" ");