diff --git a/README.md b/README.md
index da4efda..d9613bb 100644
--- a/README.md
+++ b/README.md
@@ -108,3 +108,5 @@ Happy to accept PRs to generate ORM defs from `create table` stmts (or vice vers
 pip install pytest
 pytest # in repo root
 ```
+
+If you want to pitch in on the project, there are a bunch of `@pytest.mark.skip` tests that need to be filled in (most require feature development to get them passing).
diff --git a/automig/lib/wrappers.py b/automig/lib/wrappers.py
index ced76fa..5875129 100644
--- a/automig/lib/wrappers.py
+++ b/automig/lib/wrappers.py
@@ -23,6 +23,12 @@ class WrappedStatement:
     "return table name string"
     return self.decl().get_name()
 
+def iswhitespace(token):
+  # todo: learn more about this -- Token.Text.Whitespace.Newline, should I be testing ttype[2]?
+  return isinstance(token, sqlparse.sql.Token) \
+    and token.ttype \
+    and (token.ttype[-1] == 'Whitespace' or token.ttype[-1] == 'Newline')
+
 def split_pun(tokens):
   """Takes a list of tokens and other stuff.
   Returns contiguous blocks of non-punctuation, i.e. list of lists.
@@ -34,7 +40,7 @@ def split_pun(tokens):
     if isinstance(tok, sqlparse.sql.Token) and tok.ttype and tok.ttype[0] == 'Punctuation':
       if groups[-1]: # i.e. if there's a non-empty group
         groups.append([])
-    elif isinstance(tok, sqlparse.sql.Token) and tok.ttype and tok.ttype[-1] == 'Whitespace':
+    elif iswhitespace(tok):
       pass
     elif isinstance(tok, sqlparse.sql.IdentifierList):
       # this is insane

newlines not being treated as whitespace
## Traceback
```python
...
  File "/home/awinter/2019/automigrate/automig/lib/wrappers.py", line 64, in name
    assert isinstance(self.tokens[0], sqlparse.sql.Identifier)
AssertionError
```
diff --git a/test/test_diffing.py b/test/test_diffing.py
index f38ec21..e0bf946 100644
--- a/test/test_diffing.py
+++ b/test/test_diffing.py
@@ -44,3 +44,12 @@ def test_add_index():
 @pytest.mark.skip
 def test_all_caps_keywords():
   raise NotImplementedError
+
+NEWLINE = [
+  'create table whatever (\n  a int\n);',
+  'create table whatever (\n  a int,\n  b int\n);'
+]
+
+def test_newline():
+  # this isn't asserting anything -- checking for a bug which caused a crash
+  diffing.diff(*map(sqlparse.parse, NEWLINE))

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest
apt-get update apt-get install -y gcc
3.9
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
-e git+https://github.com/abe-winter/automigrate.git@fb7c4aa328a1581e0638b95e08fd7d3ad0f4bf01#egg=automig
exceptiongroup==1.2.2
gitdb==4.0.12
gitdb2==4.0.2
GitPython==2.1.11
iniconfig==2.1.0
packaging==24.2
pluggy==1.5.0
pytest==8.3.5
PyYAML==5.1
smmap==5.0.2
sqlparse==0.3.0
tomli==2.2.1

name: automigrate
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - exceptiongroup==1.2.2
      - gitdb==4.0.12
      - gitdb2==4.0.2
      - gitpython==2.1.11
      - iniconfig==2.1.0
      - packaging==24.2
      - pluggy==1.5.0
      - pytest==8.3.5
      - pyyaml==5.1
      - smmap==5.0.2
      - sqlparse==0.3.0
      - tomli==2.2.1
prefix: /opt/conda/envs/automigrate

test/test_diffing.py::test_newline
test/test_diffing.py::test_create_table test/test_diffing.py::test_add_column test/test_diffing.py::test_add_index
README.md automig/lib/wrappers.py
README.md automig/lib/wrappers.py