[Pkg-javascript-commits] [node-leveldown] 318/492: test suite passes with master abstract-leveldown
Andrew Kelley
andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.
commit 387801cd0ff955c70c793fad13b294ad8574b63b
Author: Max Ogden <max at maxogden.com>
Date: Tue Apr 30 22:40:11 2013 -0700
test suite passes with master abstract-leveldown
---
src/database.cc | 4 ++--
src/leveldown.cc | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/database.cc b/src/database.cc
index d5fbf46..0eacb15 100644
--- a/src/database.cc
+++ b/src/database.cc
@@ -161,11 +161,11 @@ v8::Handle<v8::Value> Database::New (const v8::Arguments& args) {
v8::HandleScope scope;
if (args.Length() == 0) {
- LD_THROW_RETURN(leveldown() requires at least a location argument)
+ LD_THROW_RETURN(constructor requires at least a location argument)
}
if (!args[0]->IsString()) {
- LD_THROW_RETURN(leveldown() requires a location string argument)
+ LD_THROW_RETURN(constructor requires a location string argument)
}
char* location = FromV8String(args[0]);
diff --git a/src/leveldown.cc b/src/leveldown.cc
index 03f7c01..807b000 100644
--- a/src/leveldown.cc
+++ b/src/leveldown.cc
@@ -21,11 +21,11 @@ v8::Handle<v8::Value> DestroyDB (const v8::Arguments& args) {
}
if (!args[0]->IsString()) {
- LD_THROW_RETURN(leveldown() requires a location string argument)
+ LD_THROW_RETURN(constructor requires a location string argument)
}
if (!args[1]->IsFunction()) {
- LD_THROW_RETURN(leveldown() requires a callback function argument)
+ LD_THROW_RETURN(constructor requires a callback function argument)
}
char* location = FromV8String(args[0]);
@@ -53,11 +53,11 @@ v8::Handle<v8::Value> RepairDB (const v8::Arguments& args) {
}
if (!args[0]->IsString()) {
- LD_THROW_RETURN(leveldown() requires a location string argument)
+ LD_THROW_RETURN(constructor requires a location string argument)
}
if (!args[1]->IsFunction()) {
- LD_THROW_RETURN(leveldown() requires a callback function argument)
+ LD_THROW_RETURN(constructor requires a callback function argument)
}
char* location = FromV8String(args[0]);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git
More information about the Pkg-javascript-commits
mailing list