'use strict'

const validation = require('../validation')

module.exports = (min, max) => {
  return { validate }

  function validate (value) {
    return validation(
    ( value >= min && value <= max ),
    'between:' + min + ',' + max)
  }
}

@@ -166,17 +166,16 @@
 n(%0A    (
- 
 value %3E=
@@ -194,17 +194,16 @@
 e %3C= max
- 
 ),%0A    '

removed whitespace