I am sure I am just missing something obvious

I have html I am trying to verify that looks like:

\n Displaying 1 user\n

a test that contains

assert_tag “p”,:content => /Displaying 1 user/

The assertion fails, is there something I am missing? It seems it
should match 'cause I assue the bold tag is ignored? If I change the
assertion to

assert_tag “p”, :content => /Displaying 1*/

it passes.

On 19 Jan 2009, at 20:20, bearblu wrote:

The assertion fails, is there something I am missing? It seems it
should match 'cause I assue the bold tag is ignored?
it isn’t

If I change the
assertion to

assert_tag “p”, :content => /Displaying 1*/

that’s because that will match "Displaying "

Fred