Un-ignore bin/loop_claude/ itself, and test that no tracked file is ignored

This commit is contained in:
2026-10-01 22:35:22 +02:00
parent 471b86db5e
commit 2f3b2f0f6c
2 changed files with 11 additions and 0 deletions
+1
View File
@@ -19,6 +19,7 @@
!agents/*.md
!bin/
!bin/loop-claude
!bin/loop_claude/
!bin/loop_claude/**/
!bin/loop_claude/**/*.py
!bin/test_*.py
+10
View File
@@ -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, "")