Defect #22493

Test code bug in application_helper_test

Added by Gregor Schmidt over 6 years ago. Updated over 6 years ago.

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


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


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 6 years ago

Add missing + signs (#22493).

Patch by Gregor Schmidt.


#1 Updated by Go MAEDA over 6 years ago

  • Target version set to 3.3.0

#2 Updated by Jean-Philippe Lang over 6 years ago

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


Also available in: Atom PDF