test: add test cases for AI comment pattern matching

This commit is contained in:
Paul Gauthier (aider) 2024-12-01 10:01:53 -08:00
parent 315abec49c
commit c3d6484f6c
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# Regular AI comment
# ai do something
# AI make this better
# ai! urgent change needed
# AI! another urgent one
//ai javascript style
//AI do that thing
//ai! urgent js thing
// ai with some space
// AI with caps
// ai! with bang
# this is not an ai comment
// this is also not an ai comment
# aider is not an ai comment
// aider is not an ai comment
def dummy_function():
# ai inside function
pass