Fix two wrongs in test suppression regex

The suppression specification in test38-char-class-in-ini.abignore was
introduced in commit 1478d9cc1c.

Unfortunately it contains two errors. One causes the file name not to
match as the string is the full path, not the base name. The other is
a typo that causes the file name match not to even be attempted. The
two mistakes cancel in the test, but result in a suppression
specification that is broader than intended.

	* tests/data/test-diff-suppr/test38-char-class-in-ini.abignore:
	Don't anchor regex match to beginning of file name.
	Change "filename_regexp" to "file_name_regexp".

Signed-off-by: Giuliano Procida <gprocida@google.com>
This commit is contained in:
Giuliano Procida 2020-08-17 10:38:14 +01:00 committed by Dodji Seketeli
parent 1ab36e02e5
commit b96040e5b3

View File

@ -1,4 +1,4 @@
[suppress_function]
filename_regexp = ^test38-char-class-in-ini-v[[:digit:]].*
file_name_regexp = test38-char-class-in-ini-v[[:digit:]].*
symbol_name_regexp = bar
change_kind = added-function