Un-ignore bin/loop_claude/ itself, and test that no tracked file is ignored
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
!agents/*.md
|
||||
!bin/
|
||||
!bin/loop-claude
|
||||
!bin/loop_claude/
|
||||
!bin/loop_claude/**/
|
||||
!bin/loop_claude/**/*.py
|
||||
!bin/test_*.py
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
import subprocess
|
||||
import unittest
|
||||
|
||||
from test_python_floor import ROOT
|
||||
|
||||
|
||||
class Gitignore(unittest.TestCase):
|
||||
def test_ignores_no_tracked_file(self):
|
||||
ignored = subprocess.run(["git", "ls-files", "-ci", "--exclude-standard"], capture_output=True, check=True, cwd=ROOT, text=True).stdout
|
||||
self.assertEqual(ignored, "")
|
||||
Reference in New Issue
Block a user