/*global describe: false, it: false, require: false */
'use strict';

var assert = require('assert');
//var jsc = require('jsverify');
//var S = require('../js/schema');
//var {string, number, array, or, d} = S;
var _ = require('underscore');

var {toJSON} = require('../js/jsonSchema');
var cols = require('../schema').Columns;

//console.log(JSON.stringify(toJSON(cols), null, 4));

describe('jsonSchema', function () {
	describe('#toJSON', function () {
		it('should return a JSON schema', function () {
			var s = toJSON(cols);
			assert(_.isObject(s)); });
	});
});

@@ -288,17 +288,16 @@
 %0Avar col
-s
  = requi
@@ -303,16 +303,24 @@
 ire('../
+js/demo-
 schema')
@@ -330,64 +330,8 @@
 lumn
-s;%0A%0A//console.log(JSON.stringify(toJSON(cols), null, 4))
 ;%0A%0Ad
@@ -472,17 +472,16 @@
 JSON(col
-s
 );%0A%09%09%09as

fix test.