Project

General

Profile

Actions

Defect #22493

closed

Test code bug in application_helper_test

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

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files

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

Also available in: Atom PDF