Project

General

Profile

Actions

Defect #22493

closed

Test code bug in application_helper_test

Added by Gregor Schmidt almost 8 years ago. Updated almost 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 #1

Updated by Go MAEDA almost 8 years ago

  • Target version set to 3.3.0
Actions #2

Updated by Jean-Philippe Lang almost 8 years ago

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

Thanks.

Actions

Also available in: Atom PDF