Upon first seeing her, Madam Pomfrey had initially raised an eyebrow at her, perhaps wondering why she wasn’t expelled yet. But she still applied the simple healing charm to Hermione’s ankle; the pain disappeared instantly and it returned to normal size.