test.js 236 Bytes
'use strict';

var assert = require('assert');
var doctypes = require('./');

assert(doctypes['html'] === '<!DOCTYPE html>');
assert(doctypes['xml'] === '<?xml version="1.0" encoding="utf-8" ?>');

console.log('tests passed');