Vote #77359
完了Test code bug in application_helper_test
0%
説明
@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.
journals
--------------------------------------------------------------------------------
Thanks.
--------------------------------------------------------------------------------
Admin Redmine さんが3年以上前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 3.3.0_110 にセット