[jira] [Updated] (WW-4382) Enhance Single Character Test
[ https://issues.apache.org/jira/browse/WW-4382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4382: -- Fix Version/s: 7.0.0 (was: 6.1.0) > Enhance Single Character Test > - > > Key: WW-4382 > URL: https://issues.apache.org/jira/browse/WW-4382 > Project: Struts 2 > Issue Type: Improvement >Affects Versions: 2.3.16.3 > Environment: Any >Reporter: Larry D. Wilson >Priority: Minor > Labels: easyfix, test > Fix For: 7.0.0 > > > When testing for a single character, Struts2 requires a very specific format > that is not required for strings longer than 1 character: > 1 - Doesn't display anything > {code:xml} > > > ✓ > > {code} > 2 - Displays checkmark > {code:xml} > > ✓ > > {code} > While single quotes works comparing strings longer than 1 character, it does > not work with 1 character strings. This is inconsistent behavior. > For example, this test code matches because the string is longer than 1 > character: > {code:xml} > > Matches > > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (WW-4382) Enhance Single Character Test
[ https://issues.apache.org/jira/browse/WW-4382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4382: -- Fix Version/s: 2.5 > Enhance Single Character Test > - > > Key: WW-4382 > URL: https://issues.apache.org/jira/browse/WW-4382 > Project: Struts 2 > Issue Type: Improvement >Affects Versions: 2.3.16.3 > Environment: Any >Reporter: Larry D. Wilson >Priority: Minor > Labels: easyfix, test > Fix For: 2.5 > > > When testing for a single character, Struts2 requires a very specific format > that is not required for strings longer than 1 character: > 1 - Doesn't display anything > {code:xml} > > > ✓ > > {code} > 2 - Displays checkmark > {code:xml} > > ✓ > > {code} > While single quotes works comparing strings longer than 1 character, it does > not work with 1 character strings. This is inconsistent behavior. > For example, this test code matches because the string is longer than 1 > character: > {code:xml} > > Matches > > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (WW-4382) Enhance Single Character Test
[ https://issues.apache.org/jira/browse/WW-4382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4382: -- Description: When testing for a single character, Struts2 requires a very specific format that is not required for strings longer than 1 character: 1 - Doesn't display anything {code:xml} ✓ {code} 2 - Displays checkmark {code:xml} ✓ {code} While single quotes works comparing strings longer than 1 character, it does not work with 1 character strings. This is inconsistent behavior. For example, this test code matches because the string is longer than 1 character: {code:xml} Matches {code} was: When testing for a single character, Struts2 requires a very specific format that is not required for strings longer than 1 character: ✓ ✓ While single quotes works comparing strings longer than 1 character, it does not work with 1 character strings. This is inconsistent behavior. For example, this test code matches because the string is longer than 1 character: Matches > Enhance Single Character Test > - > > Key: WW-4382 > URL: https://issues.apache.org/jira/browse/WW-4382 > Project: Struts 2 > Issue Type: Improvement >Affects Versions: 2.3.16.3 > Environment: Any >Reporter: Larry D. Wilson >Priority: Minor > Labels: easyfix, test > > When testing for a single character, Struts2 requires a very specific format > that is not required for strings longer than 1 character: > 1 - Doesn't display anything > {code:xml} > > > ✓ > > {code} > 2 - Displays checkmark > {code:xml} > > ✓ > > {code} > While single quotes works comparing strings longer than 1 character, it does > not work with 1 character strings. This is inconsistent behavior. > For example, this test code matches because the string is longer than 1 > character: > {code:xml} > > Matches > > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)