Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
indentation fix
  • Loading branch information
jef-n committed May 16, 2016
1 parent 858914e commit c198b1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/qgstracer.cpp
Expand Up @@ -87,7 +87,7 @@ double closestSegment( const QgsPolyline& pl, const QgsPoint& pt, int& vertexAft
/** Simple graph structure for shortest path search */
struct QgsTracerGraph
{
QgsTracerGraph() : joinedVertices(0) {}
QgsTracerGraph() : joinedVertices( 0 ) {}

struct E // bidirectional edge
{
Expand Down
8 changes: 4 additions & 4 deletions tests/src/python/test_qgsdatetimestatisticalsummary.py
Expand Up @@ -120,10 +120,10 @@ def testDates(self):
self.assertEqual(s.count(), 7)
self.assertEqual(set(s.distinctValues()), set([
QDateTime(QDate(2015, 3, 4), QTime()),
QDateTime(QDate(2019, 12, 28), QTime()),
QDateTime(QDate(1998, 1, 2), QTime()),
QDateTime(),
QDateTime(QDate(2011, 1, 5), QTime())]))
QDateTime(QDate(2019, 12, 28), QTime()),
QDateTime(QDate(1998, 1, 2), QTime()),
QDateTime(),
QDateTime(QDate(2011, 1, 5), QTime())]))
self.assertEqual(s.countMissing(), 2)
self.assertEqual(s.min(), QDateTime(QDate(1998, 1, 2), QTime()))
self.assertEqual(s.max(), QDateTime(QDate(2019, 12, 28), QTime()))
Expand Down

0 comments on commit c198b1a

Please sign in to comment.