Skip to content

Commit

Permalink
syntax error
Browse files Browse the repository at this point in the history
missing )
  • Loading branch information
robertgarrigos authored Aug 31, 2018
1 parent ba7ac12 commit bd23e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/potx_test/potx_test.module
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function potx_test_page() {
dt('This could have been in a drush file');
}

t('Oh god why would @you omit a parenthesis?', array('@you' => 'fool');
t('Oh god why would @you omit a parenthesis?', array('@you' => 'fool'));

t('PHP Syntax error gracefully handled');
}
Expand Down

1 comment on commit bd23e96

@argiepiano
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this "syntax error" is there on purpose, so that the tests can detect it. The text in this line makes this pretty obvious, no? This commit should be reverted - otherwise we'll get a test failure.

Please sign in to comment.