If I use append_file or insert_into_file in a generator, and I execute generator twice, then File unchanged! The supplied flag value not found! warning is printed.
Is this the expected behavior. It sounds curious to me. Why doesn't it print identical or unchanged without warning, since content.include?(replacement) returns true?
Related to #683
If I use
append_fileorinsert_into_filein a generator, and I execute generator twice, thenFile unchanged! The supplied flag value not found!warning is printed.Is this the expected behavior. It sounds curious to me. Why doesn't it print
identicalorunchangedwithout warning, sincecontent.include?(replacement)returns true?Related to #683