Defect #22493

Test code bug in application_helper_test

Added by Gregor Schmidt over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Code cleanup/refactoring
Target version:3.3.0
Resolution:Fixed Affected version:

Description

ApplicationHelperTest#test_table_of_content_should_generate_unique_anchors concatenates an expected string. Unfortunately, there are two + signs missing, so that the test does not test, what is immediately expected.

The attached patch fixes that bug.

Since the most important element of the expected string - the generated ID - was always part of the generated expected string, this error was technically not relevant. Nevertheless, I think it should be fixed.

0001-Add-missing-signs.patch Magnifier (1.19 KB) Gregor Schmidt, 2016-04-13 21:56

Associated revisions

Revision 15333
Added by Jean-Philippe Lang over 1 year ago

Add missing + signs (#22493).

Patch by Gregor Schmidt.

History

#1 Updated by Go MAEDA over 1 year ago

  • Target version set to 3.3.0

#2 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Thanks.

Also available in: Atom PDF