aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-13 12:04:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-20 15:45:46 +0200
commit506edcf7bb2a9c099f9aebc84a0a0d18c8dd45d7 (patch)
tree61b42d143a2665e0780eea7330e7387a1b16257b
parent47ce8460b0403981528a8ebfc69945586b9374ad (diff)
Cosmetic changes
-rw-r--r--boost/oracle/date-time/driver.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/boost/oracle/date-time/driver.cxx b/boost/oracle/date-time/driver.cxx
index 4bb3058..f74f3cd 100644
--- a/boost/oracle/date-time/driver.cxx
+++ b/boost/oracle/date-time/driver.cxx
@@ -72,9 +72,9 @@ main (int argc, char* argv[])
assert (*ol == o);
}
+ // Test invalid date mappings.
+ //
{
- // Test invalid date mappings.
- //
object sv1, sv2;
sv1.dates.push_back (date (neg_infin));
sv2.dates.push_back (date (pos_infin));
@@ -85,9 +85,9 @@ main (int argc, char* argv[])
t.commit ();
}
+ // Test invalid ptime mappings.
+ //
{
- // Test invalid ptime mappings.
- //
object sv1, sv2;
sv1.times.push_back (neg_infin);
sv2.times.push_back (pos_infin);
@@ -98,9 +98,9 @@ main (int argc, char* argv[])
t.commit ();
}
+ // Test invalid time_duration mappings.
+ //
{
- // Test invalid time_duration mappings.
- //
object sv1, sv2;
sv1.durations.push_back (pos_infin);
sv2.durations.push_back (neg_infin);