Skip to content

Commit

Permalink
Simple nose tests to check the validity of VBScript.tmLanguage and VB…
Browse files Browse the repository at this point in the history
…Script.sublime-build files.
  • Loading branch information
jsadeli committed Apr 6, 2013
1 parent c4f018e commit f17e450
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: python
python:
- "2.7"

# command to run tests
script:
- nosetests
Empty file added tests/__init__.py
Empty file.
10 changes: 10 additions & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from xml.dom import minidom
import json

def test_tmlanguage_is_valid():
f = open('VBScript.tmLanguage')
minidom.parse(f)

def test_sublime_build_is_valid():
f = open('VBScript.sublime-build')
json.load(f)

0 comments on commit f17e450

Please sign in to comment.