forestdb.lib: Fix file name for test db.
							parent
							
								
									5208f8bf4f
								
							
						
					
					
						commit
						d5834dd7c6
					
				| 
						 | 
				
			
			@ -1,11 +1,12 @@
 | 
			
		|||
! Copyright (C) 2014 Doug Coleman.
 | 
			
		||||
! See http://factorcode.org/license.txt for BSD license.
 | 
			
		||||
USING: accessors alien.c-types alien.data alien.strings
 | 
			
		||||
combinators destructors forestdb.ffi fry io.pathnames kernel
 | 
			
		||||
libc namespaces sequences tools.test ;
 | 
			
		||||
combinators destructors forestdb.ffi fry io.files.temp
 | 
			
		||||
io.pathnames kernel libc namespaces sequences tools.test ;
 | 
			
		||||
IN: forestdb.lib
 | 
			
		||||
 | 
			
		||||
CONSTANT: forestdb-test-path "resource:forestdbs/first.fdb"
 | 
			
		||||
: forestdb-test-path ( -- path )
 | 
			
		||||
    "forestdb-test.fdb" temp-file ;
 | 
			
		||||
 | 
			
		||||
{ "val123" } [
 | 
			
		||||
    forestdb-test-path [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue