/[pcre]/code/trunk/pcre_scanner_unittest.cc
ViewVC logotype

Diff of /code/trunk/pcre_scanner_unittest.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 77 by nigel, Sat Feb 24 21:40:45 2007 UTC revision 87 by nigel, Sat Feb 24 21:41:21 2007 UTC
# Line 68  static void TestScanner() { Line 68  static void TestScanner() {
68    s.Consume(re, &var, &number);    s.Consume(re, &var, &number);
69    CHECK_EQ(var, "alpha");    CHECK_EQ(var, "alpha");
70    CHECK_EQ(number, 1);    CHECK_EQ(number, 1);
71      CHECK_EQ(s.LineNumber(), 3);
72    s.GetNextComments(&comments);    s.GetNextComments(&comments);
73    CHECK_EQ(comments.size(), 1);    CHECK_EQ(comments.size(), 1);
74    CHECK_EQ(comments[0].as_string(), " // this sets alpha\n");    CHECK_EQ(comments[0].as_string(), " // this sets alpha\n");

Legend:
Removed from v.77  
changed lines
  Added in v.87

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12