Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #140 from Level/test-with-string-values
Browse files Browse the repository at this point in the history
Abstract tests: use strings for values
  • Loading branch information
vweevers authored Nov 14, 2017
2 parents 20093fb + eb69f20 commit 4fdc758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions abstract/iterator-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ var db
d.push({
type : 'put'
, key : k
, value : Math.random()
, value : String(Math.random())
})
}
return d
}())
, transformSource = function (d) {
return { key: d.key, value: String(d.value) }
return { key: d.key, value: d.value }
}

module.exports.sourceData = sourceData
Expand Down

0 comments on commit 4fdc758

Please sign in to comment.